[passepartout] moved the version stuff so that other locales will be able to use it, too



commit 61ffbef2ba07a39ffe9fae68b993d628cd424eae
Author: Sven Herzberg <herzi lanedo com>
Date:   Thu Apr 23 14:12:48 2009 +0200

    moved the version stuff so that other locales will be able to use it, too
    
    * configure.ac,
    * help/Makefile.am,
    * help/C/passepartout.xml,
    * help/C/version.txt.in -> help/version.txt.in: moved the file
---
 configure.ac                |    2 +-
 help/C/passepartout.xml     |    2 +-
 help/Makefile.am            |    4 ++--
 help/{C => }/version.txt.in |    0
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4e44ca9..390dd96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -138,7 +138,7 @@ fi
 AC_CONFIG_FILES([doc/Makefile
 		 doc/examples/Makefile
 		 help/Makefile
-		 help/C/version.txt
+		 help/version.txt
 		 ])
 
 dnl  ------
diff --git a/help/C/passepartout.xml b/help/C/passepartout.xml
index c5ad83a..acfc5f0 100644
--- a/help/C/passepartout.xml
+++ b/help/C/passepartout.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML 4.1.2//EN"
                       "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"; [
-<!ENTITY version SYSTEM "version.txt">
+<!ENTITY version SYSTEM "../version.txt">
 ]>
 <book id="passepartout">
   <bookinfo>
diff --git a/help/Makefile.am b/help/Makefile.am
index c912728..1178bfc 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -13,7 +13,7 @@ nodist_doc_DATA=\
 	C/passepartout.html \
 	C/passepartout.txt \
 	$(NULL)
-dist_built_in=C/version.txt.in
+dist_built_in=version.txt.in
 nodist_help_DATA=$(dist_built_in:.in=)
 helpdir=$(datadir)/gnome/help/passepartout/C
 
@@ -22,7 +22,7 @@ check-local: check-manual
 # FIXME: once we use docbook 5.0, make sure each <acronym> has an <alt>
 check-manual: C/passepartout.xml
 	@echo "[TEST] $<"
-	@$(XMLLINT) --path "$(builddir)/C" --xinclude $< | $(XMLLINT) --path "$(builddir)/C" --valid --noout -
+	(cd C && $(XMLLINT) --xinclude `basename $<` | $(XMLLINT) --valid --noout -)
 
 omf_in_files=passepartout-C.omf.in
 omf_DATA=$(omf_in_files:.in=)
diff --git a/help/C/version.txt.in b/help/version.txt.in
similarity index 100%
rename from help/C/version.txt.in
rename to help/version.txt.in



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