aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFerry Huberts <ferry.huberts@pelagic.nl>2011-07-18 12:45:56 +0200
committerLars Hjemli <hjemli@gmail.com>2011-07-19 09:15:26 +0200
commit96f05018c9dbdf8131f18c87ee3bbbac40e0f729 (patch)
tree177a35b4efd7df54ada9a1c6d7f40b2e0f3afcc4 /Makefile
parentafdff8dc1327ed14c94cf447272191bd28009ed1 (diff)
downloadcgit-96f05018c9dbdf8131f18c87ee3bbbac40e0f729.tar.gz
cgit-96f05018c9dbdf8131f18c87ee3bbbac40e0f729.tar.xz
Makefile: fix oversight of not using $(DESTDIR) in uninstall
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f6d6968..538a9f8 100644
--- a/Makefile
+++ b/Makefile
@@ -198,9 +198,9 @@ install-pdf: doc-pdf
$(INSTALL) -m 0644 $(DOC_PDF) $(DESTDIR)$(pdfdir)
uninstall:
- rm -f $(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)
- rm -f $(CGIT_DATA_PATH)/cgit.css
- rm -f $(CGIT_DATA_PATH)/cgit.png
+ rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)
+ rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css
+ rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png
uninstall-doc: uninstall-man uninstall-html uninstall-pdf