summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-09-08 18:42:55 +0200
committerLars Hjemli <hjemli@gmail.com>2007-09-08 18:42:55 +0200
commit6bfed7d23326899554f883cf681fc6182684a978 (patch)
treef5baadea1a430eeb7d05fca00fe2d607597b6271
parent152c5e2aca6bf3f07af6b19beec872e8b3b43d1d (diff)
Revert part of "Makefile: add support for DESTDIR"
This removes my editing on the patch received by Chris Pickel, as I didn't
understand the purpose of DESTDIR.

Noticed-by: Chris Pickel <sfiera@macports.org>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3c0dd5f..899daf2 100644
--- a/Makefile
+++ b/Makefile
@@ -56,9 +56,9 @@ install: all
 	rm -rf $(DESTDIR)$(CACHE_ROOT)/*
 
 uninstall:
-	rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)
-	rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css
-	rm -rf $(DESTDIR)$(CACHE_ROOT)
+	rm -f $(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)
+	rm -f $(CGIT_SCRIPT_PATH)/cgit.css
+	rm -rf $(CACHE_ROOT)
 
 clean:
 	rm -f cgit VERSION *.o