Cleaned up and improved Makefile target for wrappers.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@408 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2007-01-03 17:22:55 +00:00
parent d262d163ed
commit a8a0dd8766

View file

@ -111,10 +111,8 @@ endef
.PHONY: wrappers
wrappers: $(WRAPPERS)
wrapper_deps := $(wildcard $(SRCDIR)/wrappers/*.sh)
wrapper_templates := $(wildcard $(SRCDIR)/wrappers/*.in)
cleanup_files+=$(WRAPPERS)
$(WRAPPERS): $(wrapper_deps) $(wrapper_templates)
$(WRAPPERS): %: $(SRCDIR)/wrappers/%.in $(SRCDIR)/wrappers/*.sh
@$(generate-shell-script)
cleanup_files+=$(CABAL)