From 06a0d18bdc77528f02d3ed81e42f739617b87ca1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 27 Nov 2007 17:54:57 -0600 Subject: Add an uninstall target Signed-off-by: Dan McGee Signed-off-by: Aaron Griffin --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3-70-g09d2