summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-10-11 07:37:13 +0200
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-05-09 05:27:44 +0200
commit80a0016de4485c208e02d5a82b22d2320d445964 (patch)
treef57b6cb24e98e0dac0b6c7ac24886ec829941da7
parent722be61ca8f700d15376bbc6c2c20b0aac27b2e0 (diff)
downloadpacman-80a0016de4485c208e02d5a82b22d2320d445964.tar.gz
pacman-80a0016de4485c208e02d5a82b22d2320d445964.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> (cherry picked from commit ad27aa30fbcac7a07586072d29d3db50009994e9)
-rw-r--r--scripts/Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index fbaab36c..70f459e2 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -215,11 +215,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) $@