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:
parent
d262d163ed
commit
a8a0dd8766
1 changed files with 1 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -111,10 +111,8 @@ endef
|
||||||
|
|
||||||
.PHONY: wrappers
|
.PHONY: wrappers
|
||||||
wrappers: $(WRAPPERS)
|
wrappers: $(WRAPPERS)
|
||||||
wrapper_deps := $(wildcard $(SRCDIR)/wrappers/*.sh)
|
|
||||||
wrapper_templates := $(wildcard $(SRCDIR)/wrappers/*.in)
|
|
||||||
cleanup_files+=$(WRAPPERS)
|
cleanup_files+=$(WRAPPERS)
|
||||||
$(WRAPPERS): $(wrapper_deps) $(wrapper_templates)
|
$(WRAPPERS): %: $(SRCDIR)/wrappers/%.in $(SRCDIR)/wrappers/*.sh
|
||||||
@$(generate-shell-script)
|
@$(generate-shell-script)
|
||||||
|
|
||||||
cleanup_files+=$(CABAL)
|
cleanup_files+=$(CABAL)
|
||||||
|
|
Loading…
Add table
Reference in a new issue