summaryrefslogtreecommitdiffstats
path: root/libgda/build/RML_Makefiles.patch
blob: f3f8ef5ddd6e4443d35951e034a86633b543a52a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -uarN RML.orig/trml2html/Makefile RML/trml2html/Makefile
--- RML.orig/trml2html/Makefile	2007-09-09 21:12:11.000000000 +0200
+++ RML/trml2html/Makefile	2007-09-09 21:54:53.000000000 +0200
@@ -483,11 +483,11 @@
 
 
 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
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
diff -uarN RML.orig/trml2pdf/Makefile RML/trml2pdf/Makefile
--- RML.orig/trml2pdf/Makefile	2007-09-09 21:12:11.000000000 +0200
+++ RML/trml2pdf/Makefile	2007-09-09 21:54:17.000000000 +0200
@@ -484,11 +484,11 @@
 
 
 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
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: