Add Makefile for Emacs config
This commit is contained in:
parent
419204ba34
commit
dbc0aabdc1
1 changed files with 12 additions and 0 deletions
12
emacs/.emacs.d/GNUmakefile
Normal file
12
emacs/.emacs.d/GNUmakefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
EMACS = /usr/bin/emacs
|
||||
|
||||
init.elc:
|
||||
|
||||
%.el: %.org
|
||||
$(EMACS) -batch -eval "(progn \
|
||||
(package-initialize) \
|
||||
(require 'ob-tangle) \
|
||||
(org-babel-tangle-file \"$<\" \"$@\" \"emacs-lisp\"))"
|
||||
|
||||
%.elc: %.el
|
||||
$(EMACS) -batch -eval "(byte-compile-file \"$<\")"
|
Loading…
Reference in a new issue