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>
This commit is contained in:
Ferry Huberts 2011-07-18 12:45:56 +02:00 committed by Lars Hjemli
parent afdff8dc13
commit 96f05018c9

View File

@ -198,9 +198,9 @@ install-pdf: doc-pdf
$(INSTALL) -m 0644 $(DOC_PDF) $(DESTDIR)$(pdfdir) $(INSTALL) -m 0644 $(DOC_PDF) $(DESTDIR)$(pdfdir)
uninstall: uninstall:
rm -f $(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)
rm -f $(CGIT_DATA_PATH)/cgit.css rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css
rm -f $(CGIT_DATA_PATH)/cgit.png rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png
uninstall-doc: uninstall-man uninstall-html uninstall-pdf uninstall-doc: uninstall-man uninstall-html uninstall-pdf