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.
This commit is contained in:
Allan McRae 2014-03-03 20:14:45 +10:00
parent e6ff630763
commit 1afddd74a9

View file

@ -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