Add basic uninstall target to Makefile

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-10-23 23:03:01 -05:00 committed by Simo Leone
parent b21ecef676
commit 2cde4b9187

View File

@ -14,3 +14,10 @@ install:
# install default config in a sane location
mkdir -p $(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