aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-01-03 17:10:26 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-01-03 17:10:26 +0000
commitd262d163ed1f75ffe7bd5d24b474f4ef1b226e12 (patch)
tree5db461567abc4eb82a7415f69c9eee0e66261f51 /Makefile
parentbd31474d980fabfb6f00bc14558593b6cf5d7d64 (diff)
downloadpandoc-d262d163ed1f75ffe7bd5d24b474f4ef1b226e12.tar.gz
Improved Makefile 'wrappers' target. (Previously, it would build
all wrappers corresponding to src/wrappers/*.in. Now, it will only build wrappers in WRAPPERS. This might be useful if we decide to have 'hsmarkdown' be a wrapper on Windows and a symlink on unix.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@407 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 09438dc0d..d9ee3ca71 100644
--- a/Makefile
+++ b/Makefile
@@ -112,8 +112,9 @@ endef
.PHONY: wrappers
wrappers: $(WRAPPERS)
wrapper_deps := $(wildcard $(SRCDIR)/wrappers/*.sh)
+wrapper_templates := $(wildcard $(SRCDIR)/wrappers/*.in)
cleanup_files+=$(WRAPPERS)
-%: $(SRCDIR)/wrappers/%.in $(wrapper_deps)
+$(WRAPPERS): $(wrapper_deps) $(wrapper_templates)
@$(generate-shell-script)
cleanup_files+=$(CABAL)