Makefile fixes for 'install' target

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Øyvind Heggstad 2009-01-22 14:04:43 -06:00 committed by Aaron Griffin
parent 29c11da409
commit 5b3370facd

View File

@ -2,12 +2,12 @@ all:
install: all
# install to sbin since script only usable by root
install -D -m 755 mkarchiso $(DESTDIR)/usr/sbin
install -D -m 755 mkarchiso $(DESTDIR)/usr/sbin/mkarchiso
# testiso can be used by anyone
install -D -m 755 testiso $(DESTDIR)/usr/bin
install -D -m 755 testiso $(DESTDIR)/usr/bin/testiso
# hooks/install are needed by mkinitcpio
install -D -m 644 hooks/archiso $(DESTDIR)/lib/initcpio/hooks/
install -D -m 644 install/archiso $(DESTDIR)/lib/initcpio/install/
install -D -m 644 hooks/archiso $(DESTDIR)/lib/initcpio/hooks/archiso
install -D -m 644 install/archiso $(DESTDIR)/lib/initcpio/install/archiso
uninstall:
rm -f $(DESTDIR)/usr/sbin/mkarchiso