~ubuntu-branches/ubuntu/oneiric/gnome-system-monitor/oneiric-updates

« back to all changes in this revision

Viewing changes to po/Makefile.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2009-01-22 14:34:04 UTC
  • mfrom: (1.1.49 upstream)
  • Revision ID: james.westby@ubuntu.com-20090122143404-dcjv5ffybudeija2
Tags: 2.24.4-0ubuntu1
* New upstream version (LP: #320030).
  - Replacement of debian/patches/70_autoconf_update.patch by
    debian/patches/70_autoreconf.patch to enable the build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Makefile for program source directory in GNU NLS utilities package.
2
2
# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
 
3
# Copyright (C) 2004-2008 Rodney Dawes <dobey.pwns@gmail.com>
3
4
#
4
 
# This file file be copied and used freely without restrictions.  It can
5
 
# be used in projects which are not available under the GNU Public License
 
5
# This file may be copied and used freely without restrictions.  It may
 
6
# be used in projects which are not available under a GNU Public License,
6
7
# but which still want to provide support for the GNU gettext functionality.
7
 
# Please note that the actual code is *not* freely available.
8
8
#
9
9
# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE
10
10
#   instead of PACKAGE and to look for po2tbl in ./ not in intl/
12
12
# - Modified by jacob berkman <jacob@ximian.com> to install
13
13
#   Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
14
14
#
15
 
# - Modified by Rodney Dawes <dobey@novell.com> for use with intltool
 
15
# - Modified by Rodney Dawes <dobey.pwns@gmail.com> for use with intltool
16
16
#
17
17
# We have the following line for use by intltoolize:
18
18
# INTLTOOL_MAKEFILE
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; \