From: Ferry Huberts Date: Mon, 18 Jul 2011 10:45:56 +0000 (+0200) Subject: Makefile: fix oversight of not using $(DESTDIR) in uninstall X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/96f05018c9dbdf8131f18c87ee3bbbac40e0f729 Makefile: fix oversight of not using $(DESTDIR) in uninstall Signed-off-by: Ferry Huberts Signed-off-by: Lars Hjemli --- 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