Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-10-23 23:03:01 -0500
committerSimo Leone <simo@archlinux.org>2007-10-24 02:05:32 -0500
commit198838d722dc31c6c2fce7d9491fdead63a5e588 (patch)
tree42f2f209655f5971142e143e1d42d5a6dc408cbc
parent4264557e0d2bdf85674373cae064eee39971029a (diff)
Add basic uninstall target to Makefile
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5637adf..bc7d2f7 100644
--- a/Makefile
+++ b/Makefile
@@ -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