Re: [Nautilus-list] Use DESTDIR when installing data/



Am Son, 2001-10-07 um 01.57 schrieb Evandro Fernandes Giovanini:
> 
> Can someone please review and commit this patch?
> 
I can only comment on it from the auto*tools perspective, not from
nautilus'.

> diff -uNr nautilus.orig/data/Makefile.am nautilus/data/Makefile.am
> --- nautilus.orig/data/Makefile.am	Mon Oct  1 15:38:26 2001
> +++ nautilus/data/Makefile.am	Sat Oct  6 09:43:27 2001
> @@ -55,9 +55,9 @@
>  	$(NULL)
>  
>  install-data-local: $(DIRECTORY_FILES)
> -	$(mkinstalldirs) $(sysconfdir)/X11/starthere
> -	$(mkinstalldirs) $(sysconfdir)/X11/sysconfig
> -	$(mkinstalldirs) $(sysconfdir)/X11/serverconfig
> -	$(INSTALL_DATA) starthere.directory $(sysconfdir)/X11/starthere/.directory
> -	$(INSTALL_DATA) sysconfig.directory $(sysconfdir)/X11/sysconfig/.directory
> -	$(INSTALL_DATA) serverconfig.directory $(sysconfdir)/X11/serverconfig/.directory
> +	$(mkinstalldirs) $(DESTDIR)/$(sysconfdir)/X11/starthere
> +	$(mkinstalldirs) $(DESTDIR)/$(sysconfdir)/X11/sysconfig
> +	$(mkinstalldirs) $(DESTDIR)/$(sysconfdir)/X11/serverconfig
> +	$(INSTALL_DATA) starthere.directory $(DESTDIR)/$(sysconfdir)/X11/starthere/.directory
> +	$(INSTALL_DATA) sysconfig.directory $(DESTDIR)/$(sysconfdir)/X11/sysconfig/.directory
> +	$(INSTALL_DATA) serverconfig.directory $(DESTDIR)/$(sysconfdir)/X11/serverconfig/.directory

You should use $(DESTDIR)$(sysconfdir) instead of
$(DESTDIR)/$(sysconfdir).

Ralf






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]