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:
parent
0dbc55a357
commit
37b73fe4fb
1 changed files with 2 additions and 3 deletions
|
@ -244,10 +244,9 @@ uninstall-local:
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
for wrapper in $(WRAPPER); do \
|
for wrapper in $(WRAPPER); do \
|
||||||
cd $(DESTDIR)$(bindir) && \
|
$(RM) $(DESTDIR)$(bindir)/$${wrapper}; \
|
||||||
$(RM) $$wrapper; \
|
$(INSTALL) .lib/$${wrapper%-wrapper} $(DESTDIR)$(bindir)/$${wrapper%-wrapper}; \
|
||||||
done
|
done
|
||||||
$(INSTALL) .lib/makepkg $(DESTDIR)$(bindir)/makepkg
|
|
||||||
for dir in $(LIBMAKEPKGDIRS); do \
|
for dir in $(LIBMAKEPKGDIRS); do \
|
||||||
$(MKDIR_P) $(DESTDIR)$(libmakepkgdir)/$$dir; \
|
$(MKDIR_P) $(DESTDIR)$(libmakepkgdir)/$$dir; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue