From 4fcde17f96ada0c57ca42bb094f6ff5ae428f77e Mon Sep 17 00:00:00 2001 From: fpi Date: Thu, 16 Jul 2020 08:55:22 +0200 Subject: Add explicit make targets for readme tangles --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 033ac9a..8455a6a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ +dst_readme := tangle.sh merge.sh pull.sh link.sh dots.sh + .PHONY: merge install link tangle fetch pull -merge: +merge: tangle/merge.sh tangle/merge.sh install: tangle link @@ -8,14 +10,14 @@ install: tangle link tangle: tangle/tangle.sh tangle/tangle.sh -link: +link: tangle/link.sh tangle/link.sh fetch: git fetch -pull: +pull: tangle/pull.sh tangle/pull.sh -tangle/tangle.sh: README.org +$(addprefix tangle/,$(dst_readme)) &: README.org emacs --batch --eval "(and (require 'org) (org-babel-tangle-file \"README.org\"))" -- cgit v1.2.3