git.iko.soy/typeable/pandoc
on master help sign in
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

commitd262d163ed1f75ffe7bd5d24b474f4ef1b226e12 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateWed 3 Jan 2007, 17:10 (20 years ago) parentbd31474
1 file changed+2−1
Makefile+2−1
Makefile+2−1
@@ -112,8 +112,9 @@ endef
112112.PHONY: wrappers
113113wrappers: $(WRAPPERS)
114114wrapper_deps := $(wildcard $(SRCDIR)/wrappers/*.sh)
115+wrapper_templates := $(wildcard $(SRCDIR)/wrappers/*.in)
115116cleanup_files+=$(WRAPPERS)
116−%: $(SRCDIR)/wrappers/%.in $(wrapper_deps)
117+$(WRAPPERS): $(wrapper_deps) $(wrapper_templates)
117118 @$(generate-shell-script)
118119
119120cleanup_files+=$(CABAL)