[emacs] re-add installation instructions and explanations
[~bandali/configs] / Makefile
... / ...
CommitLineData
1EMACS ?= emacs
2EMACS_ARGUMENTS ?= -Q
3
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:
11 @$(EMACS) $(EMACS_ARGUMENTS) \
12 --batch -l init.el --eval '(a/build-init)' 2>&1
13
14ti: tangle-init
15bi: build-init
16
17clean: FORCE
18 @rm -f init.elc
19
20.PHONY: clean tangle-init build-init
21.FORCE: