]> granicus.if.org Git - cgit/commitdiff
Revert part of "Makefile: add support for DESTDIR"
authorLars Hjemli <hjemli@gmail.com>
Sat, 8 Sep 2007 16:42:55 +0000 (18:42 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sat, 8 Sep 2007 16:42:55 +0000 (18:42 +0200)
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

index 3c0dd5f1290d132aaa480f962846b565e198d97e..899daf2091e5a05283ad57e73777b2eadb855300 100644 (file)
--- 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