2008-09-07 03:39:35 +02:00
|
|
|
all:
|
|
|
|
|
|
|
|
install: all
|
|
|
|
# install to sbin since script only usable by root
|
2009-01-22 21:04:43 +01:00
|
|
|
install -D -m 755 mkarchiso $(DESTDIR)/usr/sbin/mkarchiso
|
2008-09-07 03:39:35 +02:00
|
|
|
# testiso can be used by anyone
|
2009-01-22 21:04:43 +01:00
|
|
|
install -D -m 755 testiso $(DESTDIR)/usr/bin/testiso
|
2008-09-07 03:39:35 +02:00
|
|
|
# hooks/install are needed by mkinitcpio
|
2009-01-22 21:04:43 +01:00
|
|
|
install -D -m 644 hooks/archiso $(DESTDIR)/lib/initcpio/hooks/archiso
|
2009-01-25 03:17:54 +01:00
|
|
|
install -D -m 644 hooks/archiso-early $(DESTDIR)/lib/initcpio/hooks/archiso-early
|
2009-01-22 21:04:43 +01:00
|
|
|
install -D -m 644 install/archiso $(DESTDIR)/lib/initcpio/install/archiso
|
2009-01-25 03:17:54 +01:00
|
|
|
install -D -m 644 install/archiso-early $(DESTDIR)/lib/initcpio/install/archiso-early
|
2008-09-07 03:39:35 +02:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
rm -f $(DESTDIR)/usr/sbin/mkarchiso
|
|
|
|
rm -f $(DESTDIR)/usr/bin/testiso
|
2008-09-07 05:11:41 +02:00
|
|
|
rm -f $(DESTDIR)/lib/initcpio/hooks/archiso
|
|
|
|
rm -f $(DESTDIR)/lib/initcpio/install/archiso
|