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
commit2cde4b9187182144816c66a1e1285551faa2473c (patch)
treef492ac250f95f7a9075fc00a18df58e254f015f7
parentb21ecef676158b75b7696714129569d2e71754e6 (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