[Nautilus-list] Use DESTDIR when installing data/



Can someone please review and commit this patch?


Thanks in advance,

--
Evandro


diff -uNr nautilus.orig/ChangeLog nautilus/ChangeLog
--- nautilus.orig/ChangeLog	Sat Oct  6 09:30:21 2001
+++ nautilus/ChangeLog	Sat Oct  6 09:45:07 2001
@@ -1,3 +1,8 @@
+2001-10-06  Evandro Fernandes Giovanini <efgbr terra com br>
+
+	* data/Makefile.am (install-data-local):
+	Use DESTDIR when installing files.
+
 2001-10-05  Darin Adler  <darin bentspoon com>
 
 	* libnautilus-private/nautilus-icon-factory.c: Remove gratuitous
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


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