~ubuntu-branches/ubuntu/lucid/file-roller/lucid

« back to all changes in this revision

Viewing changes to po/Makefile.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-03-16 23:52:48 UTC
  • mfrom: (1.2.58 upstream)
  • Revision ID: james.westby@ubuntu.com-20090316235248-0snh9n621kxajocd
Tags: 2.26.0-0ubuntu1
* New upstream version
* debian/control.in:
  - set vcs url

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
ALL_LINGUAS = @ALL_LINGUAS@
56
56
 
57
 
PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; fi)
58
 
 
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)
64
 
 
65
 
DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(POFILES)
66
 
EXTRA_DISTFILES = POTFILES.skip Makevars LINGUAS
 
57
PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
 
58
 
 
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 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep ^$$lang$$`"; then printf "$$lang "; fi; done; fi)
 
60
 
 
61
USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(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="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
 
64
 
 
65
DISTFILES = Makefile.in.in POTFILES.in $(POFILES)
 
66
EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS
67
67
 
68
68
POTFILES = \
69
69
# This comment gets stripped out
101
101
install-data: install-data-@USE_NLS@
102
102
install-data-no: all
103
103
install-data-yes: all
104
 
        $(mkdir_p) $(DESTDIR)$(itlocaledir)
105
104
        linguas="$(USE_LINGUAS)"; \
106
105
        for lang in $$linguas; do \
107
106
          dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \