summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8455a6a464b4f1ba942cecd767ea4dc7f36c40a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dst_readme := tangle.sh merge.sh pull.sh link.sh dots.sh

.PHONY: merge install link tangle fetch pull

merge: tangle/merge.sh
	tangle/merge.sh

install: tangle link

tangle: tangle/tangle.sh
	tangle/tangle.sh

link: tangle/link.sh
	tangle/link.sh

fetch:
	git fetch

pull: tangle/pull.sh
	tangle/pull.sh

$(addprefix tangle/,$(dst_readme)) &: README.org
	emacs --batch --eval "(and (require 'org) (org-babel-tangle-file \"README.org\"))"