blob: fd51e3972ef81d9881686fe6b647c0af0e8cd6af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
define EMACS_TANGLE
(progn\
(setq vc-follow-symlinks nil)\
(find-file \"init.org\")\
(require 'ob-tangle)\
(org-babel-tangle nil \"init.el\"))
endef
all: init.elc
.PHONY: all
init.el:
@emacs --batch --no-init-file --eval "$(EMACS_TANGLE)" --kill
init.elc: init.el
@emacs --batch --no-init-file --funcall batch-byte-compile init.el
clean:
rm init.el init.elc
|