[yelp-xsl] domains: Fix srcdir != builddir
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] domains: Fix srcdir != builddir
- Date: Mon, 6 Aug 2012 19:29:27 +0000 (UTC)
commit f37c1afc45d9dff13891dcfe19b927546453a9b5
Author: Colin Walters <walters verbum org>
Date: Mon Aug 6 14:59:03 2012 -0400
domains: Fix srcdir != builddir
Also pass --nonet to xsltproc; we shouldn't be hitting the Intertubes
up for this one.
xslt/common/domains/Makefile.am | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/xslt/common/domains/Makefile.am b/xslt/common/domains/Makefile.am
index 47a2433..a707364 100644
--- a/xslt/common/domains/Makefile.am
+++ b/xslt/common/domains/Makefile.am
@@ -9,15 +9,15 @@ yelp-xsl.xml: yelp-xsl.xml.in
$(AM_V_GEN) ( \
if [ ! -d .yelp-xsl ]; then mkdir .yelp-xsl; fi; \
echo '<files>' > ".yelp-xsl.files"; \
- echo '<source href="yelp-xsl.xml.in"/>' >> ".yelp-xsl.files"; \
+ echo '<source href="' $(srcdir)/yelp-xsl.xml.in '"/>' >> ".yelp-xsl.files"; \
for lang in $(ALL_LINGUAS); do \
msgfmt -o ".yelp-xsl/$$lang.mo" "$(top_srcdir)/po/$$lang.po" || exit 1; \
- (cd .yelp-xsl && itstool -o "$$lang.xml" -m "$$lang.mo" "../yelp-xsl.xml.in") || exit 1; \
+ itstool -o ".yelp-xsl/$$lang.xml" -m ".yelp-xsl/$$lang.mo" $(srcdir)/yelp-xsl.xml.in || exit 1; \
rm ".yelp-xsl/$$lang.mo" || exit 1; \
echo '<file href="'".yelp-xsl/$$lang.xml"'"/>' >> ".yelp-xsl.files"; \
done; \
echo '</files>' >> ".yelp-xsl.files"; \
- xsltproc -o "$@" "msgs.xsl" ".yelp-xsl.files" || exit 1; \
+ xsltproc --nonet -o "$@" $(srcdir)/"msgs.xsl" ".yelp-xsl.files" || exit 1; \
for lang in $(ALL_LINGUAS); do rm ".yelp-xsl/$$lang.xml"; done; \
rmdir .yelp-xsl; \
rm .yelp-xsl.files)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]