aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)