[libgda/LIBGDA_4.0] Make libgda DESTDIR aware



commit e6700f22a84dab1e50adf1295ac624757ab9350f
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Apr 19 14:48:24 2009 +0200

    Make libgda DESTDIR aware
---
 ChangeLog                               |    6 ++++++
 libgda-report/RML/trml2html/Makefile.am |    6 +++---
 libgda-report/RML/trml2pdf/Makefile.am  |    6 +++---
 3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ef06331..14c1ecd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-19  Vivien Malerba <malerba gnome-db org>
+
+	* libgda-report/RML/trml2html/Makefile.am:
+	* libgda-report/RML/trml2pdf/Makefile.am: applied patch
+	for bug #579458 (Gilles Dartiguelongue)
+
 2009-04-18  Vivien Malerba <malerba gnome-db org>
 
 	* configure.in: set version to 4.0.3
diff --git a/libgda-report/RML/trml2html/Makefile.am b/libgda-report/RML/trml2html/Makefile.am
index 9b1e390..dd050cc 100644
--- a/libgda-report/RML/trml2html/Makefile.am
+++ b/libgda-report/RML/trml2html/Makefile.am
@@ -3,10 +3,10 @@ files = __init__.py  \
 	utils.py
 
 install-exec-local:
-	-mkdir -p $(bindir)/gda_trml2html
-	-cd $(top_srcdir)/libgda-report/RML/trml2html && $(INSTALL_PROGRAM) $(files) $(bindir)/gda_trml2html
+	-mkdir -p $(DESTDIR)$(bindir)/gda_trml2html
+	-cd $(top_srcdir)/libgda-report/RML/trml2html && $(INSTALL_PROGRAM) $(files) $(DESTDIR)$(bindir)/gda_trml2html
 
 uninstall-local:
-	-rm -rf $(bindir)/gda_trml2html
+	-rm -rf $(DESTDIR)$(bindir)/gda_trml2html
 
 EXTRA_DIST = $(files)
diff --git a/libgda-report/RML/trml2pdf/Makefile.am b/libgda-report/RML/trml2pdf/Makefile.am
index 7c241fe..aeab872 100644
--- a/libgda-report/RML/trml2pdf/Makefile.am
+++ b/libgda-report/RML/trml2pdf/Makefile.am
@@ -4,10 +4,10 @@ files = color.py \
 	utils.py
 
 install-exec-local:
-	-mkdir -p $(bindir)/gda_trml2pdf
-	-cd $(top_srcdir)/libgda-report/RML/trml2pdf && $(INSTALL_PROGRAM) $(files) $(bindir)/gda_trml2pdf
+	-mkdir -p $(DESTDIR)$(bindir)/gda_trml2pdf
+	-cd $(top_srcdir)/libgda-report/RML/trml2pdf && $(INSTALL_PROGRAM) $(files) $(DESTDIR)$(bindir)/gda_trml2pdf
 
 uninstall-local:
-	-rm -rf $(bindir)/gda_trml2pdf
+	-rm -rf $(DESTDIR)$(bindir)/gda_trml2pdf
 
 EXTRA_DIST = $(files)



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