summaryrefslogtreecommitdiff
path: root/archiso/Makefile
blob: 9c31f7d0ca283cc88ae118e9f19f0a8933db4639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all:

install: all
	# install to sbin since script only usable by root
	install -D -m 755 mkarchiso $(DESTDIR)/usr/sbin
	# testiso can be used by anyone
	install -D -m 755 testiso $(DESTDIR)/usr/bin
	# 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/

uninstall:
	rm -f $(DESTDIR)/usr/sbin/mkarchiso
	rm -f $(DESTDIR)/usr/bin/testiso
	rm -f $(DESTDIR)/lib/initcpio/hooks/archiso
	rm -f $(DESTDIR)/lib/initcpio/install/archiso