summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-10-11 15:37:13 +1000
committerAllan McRae <allan@archlinux.org>2016-10-11 15:43:25 +1000
commitad27aa30fbcac7a07586072d29d3db50009994e9 (patch)
tree7ee73a9260270dd6147ffbab4ef5c015c8d7d054 /scripts
parente2b4e220bcb6d3770716fb000953aa729ed07989 (diff)
downloadpacman-ad27aa30fbcac7a07586072d29d3db50009994e9.tar.xz
Ensure makepkg-wrapper is built after makepkg
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@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 8278b6fd..92cd50cd 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) $@