~ubuntu-branches/ubuntu/saucy/mousepad/saucy

« back to all changes in this revision

Viewing changes to po/Makefile.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2008-11-16 10:46:37 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20081116104637-iv3al5ksp2jt1egn
Tags: 0.2.14-0ubuntu1
* Merge with Debian Xfce UNRELEASED, remaining Ubuntu changes:
  - debian/control: demote xfprint4 from Recommends to Suggests

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
55
55
 
56
56
ALL_LINGUAS = @ALL_LINGUAS@
57
57
 
58
 
PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; fi)
59
 
 
60
 
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)
61
 
 
62
 
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)
63
 
 
64
 
POFILES=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
65
 
 
66
 
DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(POFILES)
67
 
EXTRA_DISTFILES = POTFILES.skip Makevars LINGUAS
 
58
PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
 
59
 
 
60
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)
 
61
 
 
62
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)
 
63
 
 
64
POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
 
65
 
 
66
DISTFILES = Makefile.in.in POTFILES.in $(POFILES)
 
67
EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS
68
68
 
69
69
POTFILES = \
70
70
# This comment gets stripped out
102
102
install-data: install-data-@USE_NLS@
103
103
install-data-no: all
104
104
install-data-yes: all
105
 
        $(mkdir_p) $(DESTDIR)$(itlocaledir)
106
105
        linguas="$(USE_LINGUAS)"; \
107
106
        for lang in $$linguas; do \
108
107
          dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
134
133
dvi info tags TAGS ID:
135
134
 
136
135
# Define this as empty until I found a useful application.
137
 
installcheck:
 
136
install-exec installcheck:
138
137
 
139
138
uninstall:
140
139
        linguas="$(USE_LINGUAS)"; \