diff options
author | Allan McRae <allan@archlinux.org> | 2014-03-03 20:14:45 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-03-03 20:17:39 +1000 |
commit | 1afddd74a978631ff4f15d450b96d66e7af1e768 (patch) | |
tree | 994701e76dac778f4da0f322b26da3c2a99060aa | |
parent | e6ff63076390141f2606babda627e5e053462456 (diff) | |
download | pacman-1afddd74a978631ff4f15d450b96d66e7af1e768.tar.xz |
Fix install order in scripts Makefile
We need to use install-exec-hook instead of install-data-hook to make sure
the hook is run after the installation of the scripts into $BINDIR.
-rw-r--r-- | scripts/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 5d69993e..43045df2 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -142,7 +142,7 @@ makepkg-wrapper: \ $(AM_V_at)chmod +x,a-w $@ $(AM_V_at)$(LN_S) makepkg-wrapper makepkg -install-data-hook: +install-exec-hook: cd $(DESTDIR)$(bindir) && \ $(RM) makepkg makepkg-wrapper $(INSTALL) .lib/makepkg $(DESTDIR)$(bindir)/makepkg |