[PATCH 1/1] Makefile: fix oversight of not using $(DESTDIR) in uninstall

Ferry Huberts mailings at hupie.com
Wed Jun 29 14:53:34 CEST 2011


Lars?

On 06/24/2011 07:23 PM, Ferry Huberts wrote:
> From: Ferry Huberts <ferry.huberts at pelagic.nl>
> 
> Signed-off-by: Ferry Huberts <ferry.huberts at pelagic.nl>
> ---
>  Makefile |    6 +++---
>  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
>  


-- 
Ferry Huberts




More information about the CGit mailing list