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-11-27 17:54:57 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2007-11-27 18:15:00 -0600
commit06a0d18bdc77528f02d3ed81e42f739617b87ca1 (patch)
treedf42a0eb12fdb7b69c8545f618a223c80e207179
parent84f29cd82462fe7b215c0761ede8bb680f24651a (diff)
Add an uninstall target
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e09cb61..fa4b64f 100644
--- a/Makefile
+++ b/Makefile
@@ -12,3 +12,13 @@ install:
mkdir -p $(DESTDIR)/usr/sbin
install -m 755 mkarchroot $(DESTDIR)/usr/sbin
install -m 755 makechrootpkg $(DESTDIR)/usr/sbin
+
+uninstall:
+ # remove all files we installed
+ rm $(DESTDIR)/usr/bin/checkpkg
+ rm $(DESTDIR)/usr/bin/extrapkg
+ rm $(DESTDIR)/usr/bin/corepkg
+ rm $(DESTDIR)/usr/bin/testingpkg
+ rm $(DESTDIR)/usr/bin/unstablepkg
+ rm $(DESTDIR)/usr/sbin/mkarchroot
+ rm $(DESTDIR)/usr/sbin/makechrootpkg