summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 3b3a23f6949d0f3b56a57a52a5097b4c71a9d2c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
EMACS           ?= emacs
EMACS_ARGUMENTS ?= -Q

.PHONY: all help clean build build-init quick bootstrap
.FORCE:

tangle-init: init.el
init.el: init.org
	@$(EMACS) $(EMACS_ARGUMENTS) \
	--batch --load org \
	--eval '(org-babel-tangle-file "init.org")' 2>&1

build-init:
	@rm -f init.elc
	@$(EMACS) $(EMACS_ARGUMENTS) \
	--batch -l init.el --eval '(a/build-init)' 2>&1

ti: tangle-init
bi: build-init