summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfpi2020-07-15 22:41:26 +0200
committerfpi2020-07-15 22:44:56 +0200
commit622e94a68126d7670a2dd40317e23730fccc153b (patch)
tree429442e49c1d00e76cba9164485bd080cb76c033 /Makefile
parentAdd dots script (diff)
Add make install target for fresh installations
Diffstat (limited to '')
-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\"))"