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