~ubuntu-branches/ubuntu/gutsy/sound-juicer/gutsy

« back to all changes in this revision

Viewing changes to po/Makefile.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Christian Bjälevik
  • Date: 2007-05-02 11:13:41 UTC
  • mfrom: (1.1.17 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20070502111341-3dvr6jrl231tghml
Tags: 2.16.4-1ubuntu1
* Merge with Debian:
  * debian/control.in:
    - Build-Depends on liblaunchpad-integration-dev.
  * debian/patches/01_lpi.patch:
    - LaunchpadIntegration.
  * debian/patches/02_autoconf.patch:
    - Configure update.
  * debian/patches/80_fix_gstreamer_warning.patch:
    - Dropped. Applied upstream.
  * debian/rules:
    - Build translations template for the documentation directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
srcdir = @srcdir@
27
27
top_srcdir = @top_srcdir@
28
 
top_builddir = ..
 
28
top_builddir = @top_builddir@
29
29
VPATH = @srcdir@
30
30
 
31
31
prefix = @prefix@
56
56
 
57
57
PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; fi)
58
58
 
59
 
POFILES=$(shell if test -n "$(PO_LINGUAS)"; then LINGUAS="$(PO_LINGUAS)"; else LINGUAS="$(ALL_LINGUAS)"; fi; for lang in $$LINGUAS; do printf "$$lang.po "; done)
 
59
USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS`" -o -n "`echo $$ALINGUAS|grep ' ?$$lang ?'`"; then printf "$$lang "; fi; done; fi)
 
60
 
 
61
USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
 
62
 
 
63
POFILES=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
60
64
 
61
65
DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(POFILES)
62
66
EXTRA_DISTFILES = POTFILES.skip Makevars LINGUAS
63
67
 
64
68
POTFILES = \
65
 
#This Gets Replace for some reason
 
69
# This comment gets stripped out
66
70
 
67
 
CATALOGS=$(shell if test -n "$(PO_LINGUAS)"; then LINGUAS="$(PO_LINGUAS)"; else LINGUAS="$(ALL_LINGUAS)"; fi; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
 
71
CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
68
72
 
69
73
.SUFFIXES:
70
74
.SUFFIXES: .po .pox .gmo .mo .msg .cat
98
102
install-data-no: all
99
103
install-data-yes: all
100
104
        $(mkdir_p) $(DESTDIR)$(itlocaledir)
101
 
        if test -n "$(PO_LINGUAS)"; then \
102
 
          linguas="$(PO_LINGUAS)"; \
103
 
        else \
104
 
          linguas="$(ALL_LINGUAS)"; \
105
 
        fi; \
 
105
        linguas="$(USE_LINGUAS)"; \
106
106
        for lang in $$linguas; do \
107
107
          dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
108
108
          $(mkdir_p) $$dir; \
136
136
installcheck:
137
137
 
138
138
uninstall:
139
 
        if test -n "$(PO_LINGUAS)"; then \
140
 
          linguas="$(PO_LINGUAS)"; \
141
 
        else \
142
 
          linguas="$(ALL_LINGUAS)"; \
143
 
        fi; \
 
139
        linguas="$(USE_LINGUAS)"; \
144
140
        for lang in $$linguas; do \
145
141
          rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
146
142
          rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
147
143
        done
148
144
 
149
145
check: all $(GETTEXT_PACKAGE).pot
 
146
        rm -f missing notexist
 
147
        srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m
 
148
        if [ -r missing -o -r notexist ]; then \
 
149
          exit 1; \
 
150
        fi
150
151
 
151
152
mostlyclean:
152
153
        rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp
179
180
update-po: Makefile
180
181
        $(MAKE) $(GETTEXT_PACKAGE).pot
181
182
        tmpdir=`pwd`; \
182
 
        if test -n "$(PO_LINGUAS)"; then \
183
 
          linguas="$(PO_LINGUAS)"; \
184
 
        else \
185
 
          linguas="$(ALL_LINGUAS)"; \
186
 
        fi; \
 
183
        linguas="$(USE_LINGUAS)"; \
187
184
        for lang in $$linguas; do \
188
185
          echo "$$lang:"; \
189
186
          result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \
211
208
          $(MAKE) stamp-it; \
212
209
        fi
213
210
 
214
 
stamp-it: Makefile.in.in ../config.status POTFILES.in
215
 
        cd .. \
 
211
stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in
 
212
        cd $(top_builddir) \
216
213
          && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
217
214
               $(SHELL) ./config.status
218
215