[emacs][wip] hack together a bootstrap path
[~bandali/configs] / Makefile
CommitLineData
c145ffd9
AB
1EMACS ?= emacs
2EMACS_ARGUMENTS ?= -Q
3
4.PHONY: all help clean build build-init quick bootstrap
5.FORCE:
6
7tangle-init: init.el
8init.el: init.org
9 @$(EMACS) $(EMACS_ARGUMENTS) \
10 --batch --load org \
11 --eval '(org-babel-tangle-file "init.org")' 2>&1
12
13build-init:
14 @rm -f init.elc
15 @$(EMACS) $(EMACS_ARGUMENTS) \
16 --batch -l init.el --eval '(a/build-init)' 2>&1
17
18ti: tangle-init
19bi: build-init