[pacman-dev] [PATCH] Ensure makepkg-wrapper is built after makepkg

Allan McRae allan at archlinux.org
Tue Oct 11 05:43:45 UTC 2016


makepkg-wrapper did not get rebuilt if makepkg was regenerated due to library
changes.  Ensure makepkg-wrapper is always generated and linked any time
makepkg changes.

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 scripts/Makefile.am | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 8278b6f..92cd50c 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -214,11 +214,8 @@ repo-elephant: $(srcdir)/repo-add.sh.in
 	$(AM_V_at)$(LN_S) repo-add repo-elephant
 
 makepkg-wrapper: \
-	Makefile \
-	$(srcdir)/makepkg-wrapper.sh.in \
-	$(srcdir)/makepkg.sh.in \
-	$(srcdir)/library/parseopts.sh \
-	| makepkg
+	makepkg
+
 	$(AM_V_at)$(MKDIR_P) .lib
 	$(AM_V_at)mv -f makepkg .lib
 	$(AM_V_at)$(RM) $@
-- 
2.10.0


More information about the pacman-dev mailing list