[archiso] Update Makefile
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
bdd302adaa
commit
f769fed16c
@ -1,12 +1,14 @@
|
|||||||
all:
|
all:
|
||||||
|
|
||||||
install: install-program install-examples install-doc
|
install: install-program install-hooks install-examples install-doc
|
||||||
|
|
||||||
install-program:
|
install-program:
|
||||||
# install to sbin since script only usable by root
|
# install to sbin since script only usable by root
|
||||||
install -D -m 755 mkarchiso $(DESTDIR)/usr/sbin/mkarchiso
|
install -D -m 755 mkarchiso $(DESTDIR)/usr/sbin/mkarchiso
|
||||||
# testiso can be used by anyone
|
# testiso can be used by anyone
|
||||||
install -D -m 755 testiso $(DESTDIR)/usr/bin/testiso
|
install -D -m 755 testiso $(DESTDIR)/usr/bin/testiso
|
||||||
|
|
||||||
|
install-hooks:
|
||||||
# hooks/install are needed by mkinitcpio
|
# hooks/install are needed by mkinitcpio
|
||||||
install -D -m 644 hooks/archiso $(DESTDIR)/lib/initcpio/hooks/archiso
|
install -D -m 644 hooks/archiso $(DESTDIR)/lib/initcpio/hooks/archiso
|
||||||
install -D -m 644 install/archiso $(DESTDIR)/lib/initcpio/install/archiso
|
install -D -m 644 install/archiso $(DESTDIR)/lib/initcpio/install/archiso
|
||||||
@ -33,4 +35,4 @@ uninstall:
|
|||||||
rm -f $(DESTDIR)/lib/initcpio/install/archiso_pxe_nbd
|
rm -f $(DESTDIR)/lib/initcpio/install/archiso_pxe_nbd
|
||||||
rm -rf $(DESTDIR)/usr/share/archiso/
|
rm -rf $(DESTDIR)/usr/share/archiso/
|
||||||
|
|
||||||
.PHONY: install install-program install-examples install-doc uninstall
|
.PHONY: install install-program install-hooks install-examples install-doc uninstall
|
||||||
|
Loading…
Reference in New Issue
Block a user