[gnome-db]libgda patch -- DESTDIR support



Howdy.

The attached patch enables DESTDIR support in a few areas of the
libgda makefiles where it was lacking. It applies to the 2/4/2001 CVS
snapshot.

I'm not subscribed to the list; thus, please cc me any relevant
replies.
Index: doc/C/Makefile.am
===================================================================
RCS file: /cvs/gnome/libgda/doc/C/Makefile.am,v
retrieving revision 1.3
diff -u -3 -r1.3 Makefile.am
--- doc/C/Makefile.am	2000/09/25 15:33:40	1.3
+++ doc/C/Makefile.am	2001/02/05 03:41:21
@@ -24,15 +24,15 @@
 ## when we make dist, we include the generated HTML so people don't
 ## have to have the docbook tools
 dist-hook:
-	mkdir $(distdir)/libgda
-	-cp libgda/*.html libgda/*.css $(distdir)/libgda
-	-cp libgda.html $(distdir)
+	mkdir $(DESTDIR)$(distdir)/libgda
+	-cp libgda/*.html libgda/*.css $(DESTDIR)$(distdir)/libgda
+	-cp libgda.html $(DESTDIR)$(distdir)
 
 install-data-local: libgda.html
-	$(mkinstalldirs) $(libgda_helpdir)/images
+	$(mkinstalldirs) $(DESTDIR)$(libgda_helpdir)/images
 	-for file in $(srcdir)/libgda/*.html $(srcdir)/libgda/*.css; do \
 	basefile=`basename $$file`; \
-	$(INSTALL_DATA) $(srcdir)/$$file $(libgda_helpdir)/$$basefile; \
+	$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(libgda_helpdir)/$$basefile; \
 	done
 
 libgda.ps: libgda.sgml
Index: doc/pt_BR/Makefile.am
===================================================================
RCS file: /cvs/gnome/libgda/doc/pt_BR/Makefile.am,v
retrieving revision 1.1
diff -u -3 -r1.1 Makefile.am
--- doc/pt_BR/Makefile.am	2000/10/30 21:20:00	1.1
+++ doc/pt_BR/Makefile.am	2001/02/05 03:41:21
@@ -25,14 +25,14 @@
 ## have to have the docbook tools
 dist-hook:
 	mkdir $(distdir)/libgda
-	-cp libgda/*.html libgda/*.css $(distdir)/libgda
-	-cp libgda.html $(distdir)
+	-cp libgda/*.html libgda/*.css $(DESTDIR)$(distdir)/libgda
+	-cp libgda.html $(DESTDIR)$(distdir)
 
 install-data-local: libgda.html
-	$(mkinstalldirs) $(libgdaptbr_helpdir)/images
+	$(mkinstalldirs) $(DESTDIR)$(libgdaptbr_helpdir)/images
 	-for file in $(srcdir)/libgda/*.html $(srcdir)/libgda/*.css; do \
 	basefile=`basename $$file`; \
-	$(INSTALL_DATA) $(srcdir)/$$file $(libgdaptbr_helpdir)/$$basefile; \
+	$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(libgdaptbr_helpdir)/$$basefile; \
 	done
 
 libgda.ps: libgda.sgml

Attachment: pgpMlnimGMdef.pgp
Description: PGP signature



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