summaryrefslogtreecommitdiff
blob: 1633a8147f7343ad8d62ecc1889ef0395b8bf466 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
diff -urNp gnome-doc-utils-0.12.2-orig/xml2po/Makefile.am gnome-doc-utils-0.12.2-new/xml2po/Makefile.am
--- xml2po/Makefile.am	2008-04-14 22:24:58.000000000 +0530
+++ xml2po/Makefile.am	2008-04-14 23:40:00.000000000 +0530
@@ -3,8 +3,6 @@ SUBDIRS = modes examples
 nodist_bin_SCRIPTS = xml2po
 CLEANFILES = xml2po
 
-commondir = $(datadir)/xml2po
-
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = xml2po.pc
 
@@ -12,7 +10,7 @@ man_MANS = xml2po.1
 
 xml2po: xml2po.py
 	sed -e "s/^VERSION =.*/VERSION = \"@VERSION@\"/" \
-	    -e "s+^submodes_path =.*+submodes_path = \"$(commondir)\"+" \
+	    -e "s+^submodes_path =.*+submodes_path = \"$(pythondir)/xml2po\"+" \
 	    -e "s+^#!.*python.*+#!$(PYTHON)+" \
 	  < $(srcdir)/xml2po.py > xml2po
 	chmod +x xml2po
diff -urNp gnome-doc-utils-0.12.2-orig/xml2po/modes/Makefile.am gnome-doc-utils-0.12.2-new/xml2po/modes/Makefile.am
--- xml2po/modes/Makefile.am	2008-04-14 22:24:58.000000000 +0530
+++ xml2po/modes/Makefile.am	2008-04-14 23:40:00.000000000 +0530
@@ -1,4 +1,4 @@
-commondir = $(datadir)/xml2po
+commondir = $(pythondir)/xml2po
 common_DATA = docbook.py empty.py gs.py ubuntu.py xhtml.py
 
 EXTRA_DIST = $(common_DATA)
diff -urNp gnome-doc-utils-0.12.2-orig/xml2po/xml2po.pc.in gnome-doc-utils-0.12.2-new/xml2po/xml2po.pc.in
--- xml2po/xml2po.pc.in	2008-04-14 22:24:58.000000000 +0530
+++ xml2po/xml2po.pc.in	2008-04-14 23:40:00.000000000 +0530
@@ -1,7 +1,7 @@
 prefix=@prefix@
 exec_prefix=${prefix}
 datarootdir=@datarootdir@
-modesdir=@datadir@/xml2po
+modesdir=@pythondir@/xml2po
 
 Name: xml2po
 Description: Tool for translating XML documents
--- xml2po/Makefile.in.orig	2008-10-07 14:15:24.458846452 +0300
+++ xml2po/Makefile.in	2008-10-07 14:16:06.285478888 +0300
@@ -224,7 +230,6 @@
 SUBDIRS = modes examples
 nodist_bin_SCRIPTS = xml2po
 CLEANFILES = xml2po
-commondir = $(datadir)/xml2po
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = xml2po.pc
 man_MANS = xml2po.1
@@ -630,7 +635,7 @@
 
 xml2po: xml2po.py
 	sed -e "s/^VERSION =.*/VERSION = \"@VERSION@\"/" \
-	    -e "s+^submodes_path =.*+submodes_path = \"$(commondir)\"+" \
+	    -e "s+^submodes_path =.*+submodes_path = \"$(pythondir)/xml2po\"+" \
 	    -e "s+^#!.*python.*+#!$(PYTHON)+" \
 	  < $(srcdir)/xml2po.py > xml2po
 	chmod +x xml2po
--- xml2po/modes/Makefile.in.orig	2008-10-07 14:15:31.235574920 +0300
+++ xml2po/modes/Makefile.in	2008-10-07 14:18:56.236324037 +0300
@@ -204,7 +203,7 @@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
-commondir = $(datadir)/xml2po
+commondir = $(pythondir)/xml2po
 common_DATA = docbook.py empty.py gs.py ubuntu.py xhtml.py
 EXTRA_DIST = $(common_DATA)
 all: all-am