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