summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 448057dc..1ce460d1 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -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