summaryrefslogtreecommitdiff
path: root/Makefile
blob: db682d62c034c6c9c429c3c640d96280e0eb5cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
dst_readme := tangle.sh merge.sh pull.sh link.sh dots.sh

.PHONY: merge dev install link tangle fetch pull clean

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

dev:
	git fetch
	git rebase origin/dev+ dev+
	git rebase master dev+
	git push --force origin dev+

install: tangle link

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

clean:
	rm hash/*

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

fetch:
	git fetch

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

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