[archiso] Update Makefile

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2011-06-21 20:31:52 -03:00
parent bdd302adaa
commit f769fed16c

View File

@ -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