[pacman-dev] [PATCH] Fix install order in scripts Makefile
Allan McRae
allan at archlinux.org
Mon Mar 3 05:18:46 EST 2014
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.
---
scripts/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 5d69993..43045df 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
--
1.9.0
More information about the pacman-dev
mailing list