diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-03 17:10:26 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-03 17:10:26 +0000 |
commit | d262d163ed1f75ffe7bd5d24b474f4ef1b226e12 (patch) | |
tree | 5db461567abc4eb82a7415f69c9eee0e66261f51 /Makefile | |
parent | bd31474d980fabfb6f00bc14558593b6cf5d7d64 (diff) | |
download | pandoc-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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |