[libgda/LIBGDA_4.0] Better install for report Python scripts, see bug #579458



commit 8f645fe3c09a73398fd0eee4eb3d4ec90a78bda6
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon Jun 8 20:12:57 2009 +0200

    Better install for report Python scripts, see bug #579458
---
 ChangeLog                               |    7 +++++++
 libgda-report/RML/trml2html/Makefile.am |   15 +++------------
 libgda-report/RML/trml2pdf/Makefile.am  |   16 +++-------------
 3 files changed, 13 insertions(+), 25 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7a0cbce..44d4c3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-08  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) for more standard install
+	methods
+
 2009-06-05  Vivien Malerba <malerba gnome-db org>
 
 	* tools/gda-sql.c: overwrite any existing definition of a saved statement with
diff --git a/libgda-report/RML/trml2html/Makefile.am b/libgda-report/RML/trml2html/Makefile.am
index dd050cc..e4025ba 100644
--- a/libgda-report/RML/trml2html/Makefile.am
+++ b/libgda-report/RML/trml2html/Makefile.am
@@ -1,12 +1,3 @@
-files = __init__.py  \
-	trml2html.py \
-	utils.py
-
-install-exec-local:
-	-mkdir -p $(DESTDIR)$(bindir)/gda_trml2html
-	-cd $(top_srcdir)/libgda-report/RML/trml2html && $(INSTALL_PROGRAM) $(files) $(DESTDIR)$(bindir)/gda_trml2html
-
-uninstall-local:
-	-rm -rf $(DESTDIR)$(bindir)/gda_trml2html
-
-EXTRA_DIST = $(files)
+trml2html_SCRIPTS = trml2html.py
+trml2html_DATA = __init__.py utils.py
+trml2htmldir = $(bindir)/gda_trml2html
\ No newline at end of file
diff --git a/libgda-report/RML/trml2pdf/Makefile.am b/libgda-report/RML/trml2pdf/Makefile.am
index aeab872..42474eb 100644
--- a/libgda-report/RML/trml2pdf/Makefile.am
+++ b/libgda-report/RML/trml2pdf/Makefile.am
@@ -1,13 +1,3 @@
-files = color.py \
-	__init__.py  \
-	trml2pdf.py \
-	utils.py
-
-install-exec-local:
-	-mkdir -p $(DESTDIR)$(bindir)/gda_trml2pdf
-	-cd $(top_srcdir)/libgda-report/RML/trml2pdf && $(INSTALL_PROGRAM) $(files) $(DESTDIR)$(bindir)/gda_trml2pdf
-
-uninstall-local:
-	-rm -rf $(DESTDIR)$(bindir)/gda_trml2pdf
-
-EXTRA_DIST = $(files)
+trml2pdf_SCRIPTS = trml2pdf.py
+trml2pdf_DATA = __init__.py color.py utils.py
+trml2pdfdir = $(bindir)/gda_trml2pdf
\ No newline at end of file



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