~ubuntu-branches/debian/experimental/synaptic/experimental

« back to all changes in this revision

Viewing changes to po/Makefile.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-06-18 10:17:31 UTC
  • Revision ID: james.westby@ubuntu.com-20080618101731-fb77n5hy28hcq3g3
Tags: 0.62.1
* po/es.po:
  - updated Spanish translation (thanks to
     Francisco Javier Cuadrado)
* debian/control:
  - added "menu" to the recommends (closes: #478250)
* gtk/glade/window_main.glade:
  - make the main vpane shinkable
* gtk/rgmainwindow.cc:
  - do not loose the keyboard focus after a package 
    action in the listview
* debian/control:
  - switch bzr branch to bzr.debian.org

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
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; \
133
133
dvi info tags TAGS ID:
134
134
 
135
135
# Define this as empty until I found a useful application.
136
 
installcheck:
 
136
install-exec 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