~ubuntu-branches/ubuntu/gutsy/findutils/gutsy-proposed

« back to all changes in this revision

Viewing changes to po/Makefile.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2005-07-04 11:37:37 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050704113737-ll89ui8be35r0pir
Tags: 4.2.22-2
* Remove locatedb on purge. (Closes: #315343)
* revert regex-syntax back to emacs-re. (Closes: #315136) Future versions
  will allow to select this by commandline parameter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile for program source directory in GNU NLS utilities package.
2
 
# Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
3
 
#
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
6
 
# but which still want to provide support for the GNU gettext functionality.
7
 
# Please note that the actual code is *not* freely available.
 
1
# Makefile for PO directory in any package using GNU gettext.
 
2
# Copyright (C) 1995-1997, 2000-2003 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
 
3
#
 
4
# This file can be copied and used freely without restrictions.  It can
 
5
# be used in projects which are not available under the GNU General Public
 
6
# License but which still want to provide support for the GNU gettext
 
7
# functionality.
 
8
# Please note that the actual code of GNU gettext is covered by the GNU
 
9
# General Public License and is *not* in the public domain.
 
10
#
 
11
# Origin: gettext-0.13
8
12
 
9
13
PACKAGE = @PACKAGE@
10
14
VERSION = @VERSION@
11
15
 
12
 
# These two variables depend on the location of this directory.
13
 
subdir = po
14
 
top_builddir = ..
15
 
 
16
16
SHELL = /bin/sh
17
17
@SET_MAKE@
18
18
 
29
29
INSTALL = @INSTALL@
30
30
INSTALL_DATA = @INSTALL_DATA@
31
31
MKINSTALLDIRS = @MKINSTALLDIRS@
32
 
mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
 
32
mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
33
33
 
34
 
CC = @CC@
35
34
GMSGFMT = @GMSGFMT@
36
35
MSGFMT = @MSGFMT@
37
36
XGETTEXT = @XGETTEXT@
38
37
MSGMERGE = msgmerge
39
 
 
40
 
DEFS = @DEFS@
41
 
CFLAGS = @CFLAGS@
42
 
CPPFLAGS = @CPPFLAGS@
43
 
 
44
 
INCLUDES = -I.. -I$(top_srcdir)/intl
45
 
 
46
 
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
 
38
MSGMERGE_UPDATE = @MSGMERGE@ --update
 
39
MSGINIT = msginit
 
40
MSGCONV = msgconv
 
41
MSGFILTER = msgfilter
47
42
 
48
43
POFILES = @POFILES@
49
44
GMOFILES = @GMOFILES@
50
 
DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \
51
 
$(POFILES) $(GMOFILES)
 
45
UPDATEPOFILES = @UPDATEPOFILES@
 
46
DUMMYPOFILES = @DUMMYPOFILES@
 
47
DISTFILES.common = Makefile.in.in remove-potcdate.sin \
 
48
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
 
49
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in $(DOMAIN).pot stamp-po \
 
50
$(POFILES) $(GMOFILES) \
 
51
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
52
52
 
53
53
POTFILES = \
54
54
 
55
55
CATALOGS = @CATALOGS@
56
56
 
 
57
# Makevars gets inserted here. (Don't remove this line!)
 
58
 
57
59
.SUFFIXES:
58
 
.SUFFIXES: .c .o .po .pox .gmo .mo
59
 
 
60
 
.c.o:
61
 
        $(COMPILE) $<
62
 
 
63
 
.po.pox:
64
 
        $(MAKE) $(PACKAGE).pot
65
 
        $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox
 
60
.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-update
66
61
 
67
62
.po.mo:
68
 
        $(MSGFMT) -o $@ $<
 
63
        @echo "$(MSGFMT) -c -o $@ $<"; \
 
64
        $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
69
65
 
70
66
.po.gmo:
71
 
        file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
72
 
          && rm -f $$file && $(GMSGFMT) --statistics -o $$file $<
 
67
        @lang=`echo $* | sed -e 's,.*/,,'`; \
 
68
        test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
 
69
        echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
 
70
        cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
 
71
 
 
72
.sin.sed:
 
73
        sed -e '/^#/d' $< > t-$@
 
74
        mv t-$@ $@
73
75
 
74
76
 
75
77
all: all-@USE_NLS@
76
78
 
77
 
all-yes: $(CATALOGS)
 
79
all-yes: stamp-po
78
80
all-no:
79
81
 
80
 
# Note: Target 'all' must not depend on target '$(srcdir)/$(PACKAGE).pot',
 
82
# stamp-po is a timestamp denoting the last time at which the CATALOGS have
 
83
# been loosely updated. Its purpose is that when a developer or translator
 
84
# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
 
85
# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
 
86
# invocations of "make" will do nothing. This timestamp would not be necessary
 
87
# if updating the $(CATALOGS) would always touch them; however, the rule for
 
88
# $(POFILES) has been designed to not touch files that don't need to be
 
89
# changed.
 
90
stamp-po: $(srcdir)/$(DOMAIN).pot
 
91
        test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
 
92
        @echo "touch stamp-po"
 
93
        @echo timestamp > stamp-poT
 
94
        @mv stamp-poT stamp-po
 
95
 
 
96
# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
81
97
# otherwise packages like GCC can not be built if only parts of the source
82
98
# have been downloaded.
83
99
 
84
 
$(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in
85
 
        $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
86
 
          --add-comments --keyword=_ --keyword=N_ \
 
100
# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
 
101
# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
 
102
$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
 
103
        $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
 
104
          --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
87
105
          --files-from=$(srcdir)/POTFILES.in \
88
 
        && test ! -f $(PACKAGE).po \
89
 
           || ( rm -f $(srcdir)/$(PACKAGE).pot \
90
 
                && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
 
106
          --copyright-holder='$(COPYRIGHT_HOLDER)' \
 
107
          --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)'
 
108
        test ! -f $(DOMAIN).po || { \
 
109
          if test -f $(srcdir)/$(DOMAIN).pot; then \
 
110
            sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
 
111
            sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
 
112
            if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
 
113
              rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
 
114
            else \
 
115
              rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
 
116
              mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
 
117
            fi; \
 
118
          else \
 
119
            mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
 
120
          fi; \
 
121
        }
 
122
 
 
123
# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
 
124
# every "make" invocation, only create it when it is missing.
 
125
# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
 
126
$(srcdir)/$(DOMAIN).pot:
 
127
        $(MAKE) $(DOMAIN).pot-update
 
128
 
 
129
# This target rebuilds a PO file if $(DOMAIN).pot has changed.
 
130
# Note that a PO file is not touched if it doesn't need to be changed.
 
131
$(POFILES): $(srcdir)/$(DOMAIN).pot
 
132
        @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
 
133
        test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
 
134
        echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
 
135
        cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot
91
136
 
92
137
 
93
138
install: install-exec install-data
94
139
install-exec:
95
140
install-data: install-data-@USE_NLS@
96
 
        if test "$(PACKAGE)" = "gettext"; then \
 
141
        if test "$(PACKAGE)" = "gettext-tools"; then \
97
142
          $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
98
 
          $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
99
 
                          $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
 
143
          for file in $(DISTFILES.common) Makevars.template; do \
 
144
            $(INSTALL_DATA) $(srcdir)/$$file \
 
145
                            $(DESTDIR)$(gettextsrcdir)/$$file; \
 
146
          done; \
 
147
          for file in Makevars; do \
 
148
            rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
 
149
          done; \
100
150
        else \
101
151
          : ; \
102
152
        fi
106
156
        @catalogs='$(CATALOGS)'; \
107
157
        for cat in $$catalogs; do \
108
158
          cat=`basename $$cat`; \
109
 
          lang=`echo $$cat | sed 's/\.gmo$$//'`; \
110
 
          dir=$(localedir)/$$lang/LC_MESSAGES; \
111
 
          $(mkinstalldirs) $(DESTDIR)$$dir; \
112
 
          if test -r $$cat; then \
113
 
            $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
114
 
            echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \
115
 
          else \
116
 
            $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
117
 
            echo "installing $(srcdir)/$$cat as" \
118
 
                 "$(DESTDIR)$$dir/$(PACKAGE).mo"; \
119
 
          fi; \
 
159
          lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 
160
          dir=$(localedir)/$$lang/LC_MESSAGES; \
 
161
          $(mkinstalldirs) $(DESTDIR)$$dir; \
 
162
          if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
 
163
          $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
 
164
          echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
 
165
          for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
 
166
            if test -n "$$lc"; then \
 
167
              if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
 
168
                link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
 
169
                mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
170
                mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
171
                (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
 
172
                 for file in *; do \
 
173
                   if test -f $$file; then \
 
174
                     ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
 
175
                   fi; \
 
176
                 done); \
 
177
                rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
178
              else \
 
179
                if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
 
180
                  :; \
 
181
                else \
 
182
                  rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
183
                  mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
184
                fi; \
 
185
              fi; \
 
186
              rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
 
187
              ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
 
188
              ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
 
189
              cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
 
190
              echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
 
191
            fi; \
 
192
          done; \
 
193
        done
 
194
 
 
195
install-strip: install
 
196
 
 
197
installdirs: installdirs-exec installdirs-data
 
198
installdirs-exec:
 
199
installdirs-data: installdirs-data-@USE_NLS@
 
200
        if test "$(PACKAGE)" = "gettext-tools"; then \
 
201
          $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
 
202
        else \
 
203
          : ; \
 
204
        fi
 
205
installdirs-data-no:
 
206
installdirs-data-yes:
 
207
        $(mkinstalldirs) $(DESTDIR)$(datadir)
 
208
        @catalogs='$(CATALOGS)'; \
 
209
        for cat in $$catalogs; do \
 
210
          cat=`basename $$cat`; \
 
211
          lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 
212
          dir=$(localedir)/$$lang/LC_MESSAGES; \
 
213
          $(mkinstalldirs) $(DESTDIR)$$dir; \
 
214
          for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
 
215
            if test -n "$$lc"; then \
 
216
              if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
 
217
                link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
 
218
                mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
219
                mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
220
                (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
 
221
                 for file in *; do \
 
222
                   if test -f $$file; then \
 
223
                     ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
 
224
                   fi; \
 
225
                 done); \
 
226
                rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
227
              else \
 
228
                if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
 
229
                  :; \
 
230
                else \
 
231
                  rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
232
                  mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
233
                fi; \
 
234
              fi; \
 
235
            fi; \
 
236
          done; \
120
237
        done
121
238
 
122
239
# Define this as empty until I found a useful application.
123
240
installcheck:
124
241
 
125
 
uninstall:
 
242
uninstall: uninstall-exec uninstall-data
 
243
uninstall-exec:
 
244
uninstall-data: uninstall-data-@USE_NLS@
 
245
        if test "$(PACKAGE)" = "gettext-tools"; then \
 
246
          for file in $(DISTFILES.common) Makevars.template; do \
 
247
            rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
 
248
          done; \
 
249
        else \
 
250
          : ; \
 
251
        fi
 
252
uninstall-data-no:
 
253
uninstall-data-yes:
126
254
        catalogs='$(CATALOGS)'; \
127
255
        for cat in $$catalogs; do \
128
256
          cat=`basename $$cat`; \
129
 
          lang=`echo $$cat | sed 's/\.gmo$$//'`; \
130
 
          rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
 
257
          lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 
258
          for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
 
259
            rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
 
260
          done; \
131
261
        done
132
 
        if test "$(PACKAGE)" = "gettext"; then \
133
 
          rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
134
 
        else \
135
 
          : ; \
136
 
        fi
137
262
 
138
263
check: all
139
264
 
140
 
dvi info tags TAGS ID:
 
265
info dvi ps pdf html tags TAGS ctags CTAGS ID:
141
266
 
142
267
mostlyclean:
143
 
        rm -f core core.* *.pox $(PACKAGE).po *.new.po
 
268
        rm -f remove-potcdate.sed
 
269
        rm -f stamp-poT
 
270
        rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
144
271
        rm -fr *.o
145
272
 
146
273
clean: mostlyclean
151
278
maintainer-clean: distclean
152
279
        @echo "This command is intended for maintainers to use;"
153
280
        @echo "it deletes files that may require special tools to rebuild."
154
 
        rm -f $(GMOFILES)
 
281
        rm -f stamp-po $(GMOFILES)
155
282
 
156
283
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
157
284
dist distdir:
160
287
# This is a separate target because 'update-po' must be executed before.
161
288
dist2: $(DISTFILES)
162
289
        dists="$(DISTFILES)"; \
 
290
        if test "$(PACKAGE)" = "gettext-tools"; then \
 
291
          dists="$$dists Makevars.template"; \
 
292
        fi; \
 
293
        if test -f $(srcdir)/ChangeLog; then \
 
294
          dists="$$dists ChangeLog"; \
 
295
        fi; \
 
296
        for i in 0 1 2 3 4 5 6 7 8 9; do \
 
297
          if test -f $(srcdir)/ChangeLog.$$i; then \
 
298
            dists="$$dists ChangeLog.$$i"; \
 
299
          fi; \
 
300
        done; \
 
301
        if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
163
302
        for file in $$dists; do \
164
 
          if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
165
 
          cp -p $$dir/$$file $(distdir); \
 
303
          if test -f $$file; then \
 
304
            cp -p $$file $(distdir); \
 
305
          else \
 
306
            cp -p $(srcdir)/$$file $(distdir); \
 
307
          fi; \
166
308
        done
167
309
 
168
310
update-po: Makefile
169
 
        $(MAKE) $(PACKAGE).pot
170
 
        if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; fi; \
 
311
        $(MAKE) $(DOMAIN).pot-update
 
312
        test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
 
313
        $(MAKE) update-gmo
 
314
 
 
315
# General rule for updating PO files.
 
316
 
 
317
.nop.po-update:
 
318
        @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
 
319
        if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \
 
320
        tmpdir=`pwd`; \
 
321
        echo "$$lang:"; \
 
322
        test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
 
323
        echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
171
324
        cd $(srcdir); \
172
 
        catalogs='$(GMOFILES)'; \
173
 
        for cat in $$catalogs; do \
174
 
          cat=`basename $$cat`; \
175
 
          lang=`echo $$cat | sed 's/\.gmo$$//'`; \
176
 
          echo "$$lang:"; \
177
 
          if $(MSGMERGE) $$lang.po $(PACKAGE).pot -o $$lang.new.po; then \
178
 
            mv -f $$lang.new.po $$lang.po; \
 
325
        if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
 
326
          if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
 
327
            rm -f $$tmpdir/$$lang.new.po; \
179
328
          else \
180
 
            echo "msgmerge for $$cat failed!"; \
181
 
            rm -f $$lang.new.po; \
 
329
            if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
 
330
              :; \
 
331
            else \
 
332
              echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
 
333
              exit 1; \
 
334
            fi; \
182
335
          fi; \
183
 
        done
184
 
        $(MAKE) update-gmo
 
336
        else \
 
337
          echo "msgmerge for $$lang.po failed!" 1>&2; \
 
338
          rm -f $$tmpdir/$$lang.new.po; \
 
339
        fi
 
340
 
 
341
$(DUMMYPOFILES):
185
342
 
186
343
update-gmo: Makefile $(GMOFILES)
187
344
        @:
188
345
 
189
 
Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in
 
346
Makefile: Makefile.in.in $(top_builddir)/config.status @POMAKEFILEDEPS@
190
347
        cd $(top_builddir) \
191
348
          && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
192
349
               $(SHELL) ./config.status
193
350
 
 
351
force:
 
352
 
194
353
# Tell versions [3.59,3.63) of GNU make not to export all variables.
195
354
# Otherwise a system limit (for SysV at least) may be exceeded.
196
355
.NOEXPORT: