cgit

commit 6bfed7d23326899554f883cf681fc6182684a978

Author: Lars Hjemli <hjemli@gmail.com>

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>

 Makefile | 6 +++---


diff --git a/Makefile b/Makefile
index 3c0dd5f1290d132aaa480f962846b565e198d97e..899daf2091e5a05283ad57e73777b2eadb855300 100644
--- a/Makefile
+++ b/Makefile
@@ -56,9 +56,9 @@ 	install cgit.css $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css
 	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