[emacs] move a/byte-compiled-init below the header
[~bandali/configs] / Makefile
CommitLineData
c145ffd9
AB
1EMACS ?= emacs
2EMACS_ARGUMENTS ?= -Q
3
c145ffd9
AB
4tangle-init: init.el
5init.el: init.org
6 @$(EMACS) $(EMACS_ARGUMENTS) \
7 --batch --load org \
8 --eval '(org-babel-tangle-file "init.org")' 2>&1
9
10build-init:
c145ffd9
AB
11 @$(EMACS) $(EMACS_ARGUMENTS) \
12 --batch -l init.el --eval '(a/build-init)' 2>&1
13
14ti: tangle-init
15bi: build-init
efcec623
AB
16
17clean: FORCE
18 @rm -f init.elc
19
20.PHONY: clean tangle-init build-init
21.FORCE: