summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 92b04f5..033ac9a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,11 @@
-.PHONY: merge tangle
+.PHONY: merge install link tangle fetch pull
merge:
tangle/merge.sh
-tangle:
+install: tangle link
+
+tangle: tangle/tangle.sh
tangle/tangle.sh
link:
@@ -14,3 +16,6 @@ fetch:
pull:
tangle/pull.sh
+
+tangle/tangle.sh: README.org
+ emacs --batch --eval "(and (require 'org) (org-babel-tangle-file \"README.org\"))"