~ubuntu-branches/ubuntu/saucy/yelp-xsl/saucy

« back to all changes in this revision

Viewing changes to xslt/common/domains/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2013-05-30 09:55:02 UTC
  • mfrom: (11.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130530095502-uqkc9bzuod7xqrmn
Tags: 3.8.1-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
xsldir = $(datadir)/yelp-xsl/xslt/common/domains
174
174
xsl_DATA = yelp-xsl.xml
175
175
EXTRA_DIST = yelp-xsl.xml yelp-xsl.xml.in
176
 
CLEANFILES = yelp-xsl.xml yelp-xsl.pot
 
176
CLEANFILES = yelp-xsl.xml
177
177
all: all-am
178
178
 
179
179
.SUFFIXES:
378
378
 
379
379
 
380
380
$(srcdir)/yelp-xsl.pot: yelp-xsl.xml.in
381
 
        itstool -o "$@" yelp-xsl.xml.in
382
 
 
383
 
all: $(srcdir)/yelp-xsl.pot
 
381
        itstool -o "$@" "$^"
384
382
 
385
383
yelp-xsl.xml: yelp-xsl.xml.in
386
 
        @echo "  GEN    $@"; \
387
 
        if [ ! -d .yelp-xsl ]; then mkdir .yelp-xsl; fi; \
388
 
        echo '<files>' > ".yelp-xsl.files"; \
389
 
        echo '<source href="yelp-xsl.xml.in"/>' >> ".yelp-xsl.files"; \
 
384
        $(AM_V_GEN) ( \
390
385
        for lang in $(ALL_LINGUAS); do \
391
 
          msgfmt -o ".yelp-xsl/$$lang.mo" "$(top_srcdir)/po/$$lang.po" || exit 1; \
392
 
          (cd .yelp-xsl && itstool -o "$$lang.xml" -m "$$lang.mo" "../yelp-xsl.xml.in") || exit 1; \
393
 
          rm ".yelp-xsl/$$lang.mo" || exit 1; \
394
 
          echo '<file href="'".yelp-xsl/$$lang.xml"'"/>' >> ".yelp-xsl.files"; \
 
386
          msgfmt -o "$$lang.mo" "$(top_srcdir)/po/$$lang.po" || exit 1; \
395
387
        done; \
396
 
        echo '</files>' >> ".yelp-xsl.files"; \
397
 
        xsltproc -o "$@" "msgs.xsl" ".yelp-xsl.files" || exit 1; \
398
 
        for lang in $(ALL_LINGUAS); do rm ".yelp-xsl/$$lang.xml"; done; \
399
 
        rmdir .yelp-xsl; \
400
 
        rm .yelp-xsl.files
 
388
        itstool -o "$@" -j "$^" $(foreach ll,$(ALL_LINGUAS),$(ll).mo); \
 
389
        rm $(foreach ll,$(ALL_LINGUAS),$(ll).mo))
401
390
 
402
391
# Tell versions [3.59,3.63) of GNU make to not export all variables.
403
392
# Otherwise a system limit (for SysV at least) may be exceeded.