Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-10-11 15:37:13 +1000
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-05-08 23:27:44 -0400
commit80a0016de4485c208e02d5a82b22d2320d445964 (patch)
treef57b6cb24e98e0dac0b6c7ac24886ec829941da7 /scripts/Makefile.am
parent722be61ca8f700d15376bbc6c2c20b0aac27b2e0 (diff)
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)
Diffstat (limited to 'scripts/Makefile.am')
-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) $@