Makefile fixes for 'install' target
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
29c11da409
commit
5b3370facd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user