[libgda] Make libgda DESTDIR aware



commit 0f026cf8562c54405dc03a92c0e91e321dd21611
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Apr 19 14:52:17 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 0a334f9..58157e2 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.1.1
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]