makepkg didn't depend on this, only the makepkg-wrapper target did.
Worse, the other generated scripts used the same wrapper, but their
corresponding wrapper target did not depend on wrapper.sh.in, oops!

Signed-off-by: Eli Schwartz <eschwa...@archlinux.org>
---
 scripts/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 83d53a51..f81b1a49 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -192,7 +192,6 @@ all-am: $(COMPLETION_IN)
 
 makepkg: \
        $(srcdir)/makepkg.sh.in \
-       $(srcdir)/wrapper.sh.in \
        $(LIBMAKEPKG_IN)
 
 makepkg-template: \
@@ -221,6 +220,7 @@ repo-elephant: repo-add
 
 .SECONDEXPANSION:
 $(WRAPPER): \
+       $(srcdir)/wrapper.sh.in \
        $$(subst -wrapper,,$$@)
 
        $(AM_V_at)$(MKDIR_P) .lib
-- 
2.19.1

Reply via email to