Add basic uninstall target to Makefile
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
b21ecef676
commit
2cde4b9187
7
Makefile
7
Makefile
@ -14,3 +14,10 @@ install:
|
|||||||
# install default config in a sane location
|
# install default config in a sane location
|
||||||
mkdir -p $(DESTDIR)/usr/share/archiso
|
mkdir -p $(DESTDIR)/usr/share/archiso
|
||||||
cp -R default-config $(DESTDIR)/usr/share/archiso/
|
cp -R default-config $(DESTDIR)/usr/share/archiso/
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -f $(DESTDIR)/usr/sbin/mkarchiso
|
||||||
|
rm -f $(DESTDIR)/usr/bin/testiso
|
||||||
|
rm -f $(DESTDIR)/lib/initcpio/hooks/{archiso,boot-cd,boot-usb}
|
||||||
|
rm -f $(DESTDIR)/lib/initcpio/install/{archiso,boot-cd,boot-usb}
|
||||||
|
rm -rf $(DESTDIR)/usr/share/archiso
|
||||||
|
Loading…
Reference in New Issue
Block a user