Make sure all proper scripts are installed instead of the wrappers

After 1f8f0bd9ac all scripts that were
changed to using the wrapper for in-tree use have the wrappers installed
to the system instead of the actual script, so change the install
command to support all wrapped scripts instead of just makepkg.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Johannes Löthberg 2016-10-25 21:02:02 +02:00 committed by Allan McRae
parent 0dbc55a357
commit 37b73fe4fb

View file

@ -244,10 +244,9 @@ uninstall-local:
install-exec-hook:
for wrapper in $(WRAPPER); do \
cd $(DESTDIR)$(bindir) && \
$(RM) $$wrapper; \
$(RM) $(DESTDIR)$(bindir)/$${wrapper}; \
$(INSTALL) .lib/$${wrapper%-wrapper} $(DESTDIR)$(bindir)/$${wrapper%-wrapper}; \
done
$(INSTALL) .lib/makepkg $(DESTDIR)$(bindir)/makepkg
for dir in $(LIBMAKEPKGDIRS); do \
$(MKDIR_P) $(DESTDIR)$(libmakepkgdir)/$$dir; \
done