Import upstream version 1.29
[debian/tar] / po / Makefile.in.in
1 # Makefile for PO directory in any package using GNU gettext.
2 # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
3 #
4 # Copying and distribution of this file, with or without modification,
5 # are permitted in any medium without royalty provided the copyright
6 # notice and this notice are preserved.  This file is offered as-is,
7 # without any warranty.
8 #
9 # Origin: gettext-0.19.5
10 GETTEXT_MACRO_VERSION = 0.19
11
12 PACKAGE = @PACKAGE@
13 VERSION = @VERSION@
14 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
15
16 SED = @SED@
17 SHELL = /bin/sh
18 @SET_MAKE@
19
20 srcdir = @srcdir@
21 top_srcdir = @top_srcdir@
22 VPATH = @srcdir@
23
24 prefix = @prefix@
25 exec_prefix = @exec_prefix@
26 datarootdir = @datarootdir@
27 datadir = @datadir@
28 localedir = @localedir@
29 gettextsrcdir = $(datadir)/gettext/po
30
31 INSTALL = @INSTALL@
32 INSTALL_DATA = @INSTALL_DATA@
33
34 # We use $(mkdir_p).
35 # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
36 # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
37 # @install_sh@ does not start with $(SHELL), so we add it.
38 # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined
39 # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
40 # versions, $(mkinstalldirs) and $(install_sh) are unused.
41 mkinstalldirs = $(SHELL) @install_sh@ -d
42 install_sh = $(SHELL) @install_sh@
43 MKDIR_P = @MKDIR_P@
44 mkdir_p = @mkdir_p@
45
46 GMSGFMT_ = @GMSGFMT@
47 GMSGFMT_no = @GMSGFMT@
48 GMSGFMT_yes = @GMSGFMT_015@
49 GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT))
50 MSGFMT_ = @MSGFMT@
51 MSGFMT_no = @MSGFMT@
52 MSGFMT_yes = @MSGFMT_015@
53 MSGFMT = $(MSGFMT_$(USE_MSGCTXT))
54 XGETTEXT_ = @XGETTEXT@
55 XGETTEXT_no = @XGETTEXT@
56 XGETTEXT_yes = @XGETTEXT_015@
57 XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT))
58 MSGMERGE = msgmerge
59 MSGMERGE_UPDATE = @MSGMERGE@ --update
60 MSGINIT = msginit
61 MSGCONV = msgconv
62 MSGFILTER = msgfilter
63
64 POFILES = @POFILES@
65 GMOFILES = @GMOFILES@
66 UPDATEPOFILES = @UPDATEPOFILES@
67 DUMMYPOFILES = @DUMMYPOFILES@
68 DISTFILES.common = Makefile.in.in remove-potcdate.sin \
69 $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
70 DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
71 $(POFILES) $(GMOFILES) \
72 $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
73
74 POTFILES = \
75
76 CATALOGS = @CATALOGS@
77
78 POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot
79 POFILESDEPS_yes = $(POFILESDEPS_)
80 POFILESDEPS_no =
81 POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT))
82
83 DISTFILESDEPS_ = update-po
84 DISTFILESDEPS_yes = $(DISTFILESDEPS_)
85 DISTFILESDEPS_no =
86 DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO))
87
88 # Makevars gets inserted here. (Don't remove this line!)
89
90 .SUFFIXES:
91 .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
92
93 .po.mo:
94         @echo "$(MSGFMT) -c -o $@ $<"; \
95         $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
96
97 .po.gmo:
98         @lang=`echo $* | sed -e 's,.*/,,'`; \
99         test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
100         echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
101         cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
102
103 .sin.sed:
104         sed -e '/^#/d' $< > t-$@
105         mv t-$@ $@
106
107
108 all: all-@USE_NLS@
109
110 all-yes: stamp-po
111 all-no:
112
113 # Ensure that the gettext macros and this Makefile.in.in are in sync.
114 CHECK_MACRO_VERSION = \
115         test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
116           || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \
117                exit 1; \
118              }
119
120 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
121 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
122 # we don't want to bother translators with empty POT files). We assume that
123 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
124 # In this case, stamp-po is a nop (i.e. a phony target).
125
126 # stamp-po is a timestamp denoting the last time at which the CATALOGS have
127 # been loosely updated. Its purpose is that when a developer or translator
128 # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
129 # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
130 # invocations of "make" will do nothing. This timestamp would not be necessary
131 # if updating the $(CATALOGS) would always touch them; however, the rule for
132 # $(POFILES) has been designed to not touch files that don't need to be
133 # changed.
134 stamp-po: $(srcdir)/$(DOMAIN).pot
135         @$(CHECK_MACRO_VERSION)
136         test ! -f $(srcdir)/$(DOMAIN).pot || \
137           test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
138         @test ! -f $(srcdir)/$(DOMAIN).pot || { \
139           echo "touch stamp-po" && \
140           echo timestamp > stamp-poT && \
141           mv stamp-poT stamp-po; \
142         }
143
144 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
145 # otherwise packages like GCC can not be built if only parts of the source
146 # have been downloaded.
147
148 # This target rebuilds $(DOMAIN).pot; it is an expensive operation.
149 # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
150 # The determination of whether the package xyz is a GNU one is based on the
151 # heuristic whether some file in the top level directory mentions "GNU xyz".
152 # If GNU 'find' is available, we avoid grepping through monster files.
153 $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
154         package_gnu="$(PACKAGE_GNU)"; \
155         test -n "$$package_gnu" || { \
156           if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \
157                  LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f \
158                                -size -10000000c -exec grep 'GNU @PACKAGE@' \
159                                /dev/null '{}' ';' 2>/dev/null; \
160                else \
161                  LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \
162                fi; \
163              } | grep -v 'libtool:' >/dev/null; then \
164              package_gnu=yes; \
165            else \
166              package_gnu=no; \
167            fi; \
168         }; \
169         if test "$$package_gnu" = "yes"; then \
170           package_prefix='GNU '; \
171         else \
172           package_prefix=''; \
173         fi; \
174         if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \
175           msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
176         else \
177           msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
178         fi; \
179         case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
180           '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
181             $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
182               --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
183               --files-from=$(srcdir)/POTFILES.in \
184               --copyright-holder='$(COPYRIGHT_HOLDER)' \
185               --msgid-bugs-address="$$msgid_bugs_address" \
186             ;; \
187           *) \
188             $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
189               --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
190               --files-from=$(srcdir)/POTFILES.in \
191               --copyright-holder='$(COPYRIGHT_HOLDER)' \
192               --package-name="$${package_prefix}@PACKAGE@" \
193               --package-version='@VERSION@' \
194               --msgid-bugs-address="$$msgid_bugs_address" \
195             ;; \
196         esac
197         test ! -f $(DOMAIN).po || { \
198           if test -f $(srcdir)/$(DOMAIN).pot; then \
199             sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
200             sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
201             if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
202               rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
203             else \
204               rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
205               mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
206             fi; \
207           else \
208             mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
209           fi; \
210         }
211
212 # This rule has no dependencies: we don't need to update $(DOMAIN).pot at
213 # every "make" invocation, only create it when it is missing.
214 # Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
215 $(srcdir)/$(DOMAIN).pot:
216         $(MAKE) $(DOMAIN).pot-update
217
218 # This target rebuilds a PO file if $(DOMAIN).pot has changed.
219 # Note that a PO file is not touched if it doesn't need to be changed.
220 $(POFILES): $(POFILESDEPS)
221         @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
222         if test -f "$(srcdir)/$${lang}.po"; then \
223           test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot; \
224           test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
225           echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
226           cd $(srcdir) \
227             && { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
228                    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
229                      $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
230                    *) \
231                      $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
232                  esac; \
233                }; \
234         else \
235           $(MAKE) $${lang}.po-create; \
236         fi
237
238
239 install: install-exec install-data
240 install-exec:
241 install-data: install-data-@USE_NLS@
242         if test "$(PACKAGE)" = "gettext-tools"; then \
243           $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
244           for file in $(DISTFILES.common) Makevars.template; do \
245             $(INSTALL_DATA) $(srcdir)/$$file \
246                             $(DESTDIR)$(gettextsrcdir)/$$file; \
247           done; \
248           for file in Makevars; do \
249             rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
250           done; \
251         else \
252           : ; \
253         fi
254 install-data-no: all
255 install-data-yes: all
256         @catalogs='$(CATALOGS)'; \
257         for cat in $$catalogs; do \
258           cat=`basename $$cat`; \
259           lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
260           dir=$(localedir)/$$lang/LC_MESSAGES; \
261           $(mkdir_p) $(DESTDIR)$$dir; \
262           if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
263           $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
264           echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
265           for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
266             if test -n "$$lc"; then \
267               if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
268                 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
269                 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
270                 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
271                 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
272                  for file in *; do \
273                    if test -f $$file; then \
274                      ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
275                    fi; \
276                  done); \
277                 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
278               else \
279                 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
280                   :; \
281                 else \
282                   rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
283                   mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
284                 fi; \
285               fi; \
286               rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
287               ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
288               ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
289               cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
290               echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
291             fi; \
292           done; \
293         done
294
295 install-strip: install
296
297 installdirs: installdirs-exec installdirs-data
298 installdirs-exec:
299 installdirs-data: installdirs-data-@USE_NLS@
300         if test "$(PACKAGE)" = "gettext-tools"; then \
301           $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
302         else \
303           : ; \
304         fi
305 installdirs-data-no:
306 installdirs-data-yes:
307         @catalogs='$(CATALOGS)'; \
308         for cat in $$catalogs; do \
309           cat=`basename $$cat`; \
310           lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
311           dir=$(localedir)/$$lang/LC_MESSAGES; \
312           $(mkdir_p) $(DESTDIR)$$dir; \
313           for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
314             if test -n "$$lc"; then \
315               if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
316                 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
317                 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
318                 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
319                 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
320                  for file in *; do \
321                    if test -f $$file; then \
322                      ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
323                    fi; \
324                  done); \
325                 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
326               else \
327                 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
328                   :; \
329                 else \
330                   rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
331                   mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
332                 fi; \
333               fi; \
334             fi; \
335           done; \
336         done
337
338 # Define this as empty until I found a useful application.
339 installcheck:
340
341 uninstall: uninstall-exec uninstall-data
342 uninstall-exec:
343 uninstall-data: uninstall-data-@USE_NLS@
344         if test "$(PACKAGE)" = "gettext-tools"; then \
345           for file in $(DISTFILES.common) Makevars.template; do \
346             rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
347           done; \
348         else \
349           : ; \
350         fi
351 uninstall-data-no:
352 uninstall-data-yes:
353         catalogs='$(CATALOGS)'; \
354         for cat in $$catalogs; do \
355           cat=`basename $$cat`; \
356           lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
357           for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
358             rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
359           done; \
360         done
361
362 check: all
363
364 info dvi ps pdf html tags TAGS ctags CTAGS ID:
365
366 mostlyclean:
367         rm -f remove-potcdate.sed
368         rm -f stamp-poT
369         rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
370         rm -fr *.o
371
372 clean: mostlyclean
373
374 distclean: clean
375         rm -f Makefile Makefile.in POTFILES *.mo
376
377 maintainer-clean: distclean
378         @echo "This command is intended for maintainers to use;"
379         @echo "it deletes files that may require special tools to rebuild."
380         rm -f stamp-po $(GMOFILES)
381
382 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
383 dist distdir:
384         test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS)
385         @$(MAKE) dist2
386 # This is a separate target because 'update-po' must be executed before.
387 dist2: stamp-po $(DISTFILES)
388         dists="$(DISTFILES)"; \
389         if test "$(PACKAGE)" = "gettext-tools"; then \
390           dists="$$dists Makevars.template"; \
391         fi; \
392         if test -f $(srcdir)/$(DOMAIN).pot; then \
393           dists="$$dists $(DOMAIN).pot stamp-po"; \
394         fi; \
395         if test -f $(srcdir)/ChangeLog; then \
396           dists="$$dists ChangeLog"; \
397         fi; \
398         for i in 0 1 2 3 4 5 6 7 8 9; do \
399           if test -f $(srcdir)/ChangeLog.$$i; then \
400             dists="$$dists ChangeLog.$$i"; \
401           fi; \
402         done; \
403         if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
404         for file in $$dists; do \
405           if test -f $$file; then \
406             cp -p $$file $(distdir) || exit 1; \
407           else \
408             cp -p $(srcdir)/$$file $(distdir) || exit 1; \
409           fi; \
410         done
411
412 update-po: Makefile
413         $(MAKE) $(DOMAIN).pot-update
414         test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
415         $(MAKE) update-gmo
416
417 # General rule for creating PO files.
418
419 .nop.po-create:
420         @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
421         echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
422         exit 1
423
424 # General rule for updating PO files.
425
426 .nop.po-update:
427         @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
428         if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \
429         tmpdir=`pwd`; \
430         echo "$$lang:"; \
431         test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
432         echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
433         cd $(srcdir); \
434         if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
435                '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
436                  $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
437                *) \
438                  $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
439              esac; \
440            }; then \
441           if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
442             rm -f $$tmpdir/$$lang.new.po; \
443           else \
444             if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
445               :; \
446             else \
447               echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
448               exit 1; \
449             fi; \
450           fi; \
451         else \
452           echo "msgmerge for $$lang.po failed!" 1>&2; \
453           rm -f $$tmpdir/$$lang.new.po; \
454         fi
455
456 $(DUMMYPOFILES):
457
458 update-gmo: Makefile $(GMOFILES)
459         @:
460
461 # Recreate Makefile by invoking config.status. Explicitly invoke the shell,
462 # because execution permission bits may not work on the current file system.
463 # Use @SHELL@, which is the shell determined by autoconf for the use by its
464 # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient.
465 Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@
466         cd $(top_builddir) \
467           && @SHELL@ ./config.status $(subdir)/$@.in po-directories
468
469 force:
470
471 # Tell versions [3.59,3.63) of GNU make not to export all variables.
472 # Otherwise a system limit (for SysV at least) may be exceeded.
473 .NOEXPORT: