[yelp] data/domains: Fixed distcheck for yelp.pot



commit 80a49b9dbfe0952497950d4fb80ac94d87433be9
Author: Shaun McCance <shaunm gnome org>
Date:   Thu Feb 23 13:38:24 2012 -0500

    data/domains: Fixed distcheck for yelp.pot

 configure.ac             |    2 --
 data/domains/Makefile.am |   14 ++++++--------
 data/domains/yelp.pot    |   15 +++------------
 3 files changed, 9 insertions(+), 22 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4f72a77..4203a05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,8 +146,6 @@ AC_SUBST(XSL_JSDIR)
 
 XSL_GETTEXT="`$PKG_CONFIG --variable=gettext yelp-xsl`"
 AC_SUBST(XSL_GETTEXT)
-XSL_DOMAINS="`$PKG_CONFIG --variable=domains yelp-xsl`"
-AC_SUBST(XSL_DOMAINS)
 
 YELP_ICON_PATH="`$PKG_CONFIG --variable=icondir yelp-xsl`"
 AC_SUBST(YELP_ICON_PATH)
diff --git a/data/domains/Makefile.am b/data/domains/Makefile.am
index 9c53239..35d04cb 100644
--- a/data/domains/Makefile.am
+++ b/data/domains/Makefile.am
@@ -1,9 +1,9 @@
 ALL_LINGUAS = @ALL_LINGUAS@
 
-$(srcdir)/yelp.pot: yelp.xml.in
-	itstool -o "$@" yelp.xml.in
+yelp.pot: yelp.xml
+	itstool -o "$@" "$^"
 
-all: $(srcdir)/yelp.pot
+all: yelp.xml yelp.pot
 
 yelp.xml: yelp.xml.in
 	@echo "  GEN    $@"; \
@@ -17,15 +17,13 @@ yelp.xml: yelp.xml.in
 	  echo '<file href="'".yelp/$$lang.xml"'"/>' >> ".yelp.files"; \
 	done; \
 	echo '</files>' >> ".yelp.files"; \
-	xsltproc -o "$@" "msgs.xsl" ".yelp.files" || exit 1; \
+	xsltproc -o "$@" "$(srcdir)/msgs.xsl" ".yelp.files" || exit 1; \
 	for lang in $(ALL_LINGUAS); do rm ".yelp/$$lang.xml"; done; \
 	rmdir .yelp; \
 	rm .yelp.files
 
-xsldir=${XSL_DOMAINS}
+xsldir=$(datadir)/yelp-xsl/xslt/common/domains
 
 xsl_DATA = yelp.xml
 
-EXTRA_DIST = yelp.xml yelp.xml.in
-
-CLEANFILES = yelp.xml yelp.pot
+EXTRA_DIST = msgs.xsl yelp.xml.in yelp.xml yelp.pot
diff --git a/data/domains/yelp.pot b/data/domains/yelp.pot
index f988f84..2cf0b05 100644
--- a/data/domains/yelp.pot
+++ b/data/domains/yelp.pot
@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-01-18 10:49-0500\n"
+"POT-Creation-Date: 2012-02-23 13:14-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL ADDRESS>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -9,16 +9,7 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#. ID: install.tooltip
-#. This is a format message used to format tooltips on install: links. These
-#. links allow users to install packages by clicking a link in the help. The
-#. tooltip may also be used as the link text, if there's no link text in the
-#. document. Special elements in the message will be replaced with the
-#. appropriate content, as follows:
-#. 
-#. <string/> - The package to install
-#. 
-#: yelp.xml.in:29(msg/msgstr)
-msgid "Install <string/>"
+#: yelp.xml:2(msg/msgstr)
+msgid "Install <_:string-1/>"
 msgstr ""
 



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