]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update from gnulib: fix "make -q" problem.
authorBruno Haible <bruno@clisp.org>
Sat, 10 Sep 2011 20:23:06 +0000 (22:23 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 10 Sep 2011 20:23:06 +0000 (22:23 +0200)
gettext-runtime/po/ChangeLog
gettext-runtime/po/Makefile.in.in
gettext-tools/po/ChangeLog
gettext-tools/po/Makefile.in.in

index 8a03f2f2e5d1f0f7373712bdfe6165a36aaab905..4fa78b36576878677e52efb86374e8626f9d2626 100644 (file)
@@ -1,3 +1,13 @@
+2011-08-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Makefile.in.in: fix make -q problem
+       * build-aux/po/Makefile.in.in (check-macro-version): Remove this
+       rule, since there's no file named 'check-macro-version' and its
+       use as a file breaks make -q.
+       (all): Don't depend on check-macro-version.
+       (CHECK_MACRO_VERSION): New macro.
+       (stamp-po): Use it.
+
 2011-01-18  Bruno Haible  <bruno@clisp.org>
 
        * da.po: Update from Keld Simonsen <keld@keldix.com>.
index e666eaaa249a1a79a1167d841ed0d9f2a5b0c1fc..fce63a6e95e32260270df498b020b5ddf317d32f 100644 (file)
@@ -96,14 +96,14 @@ CATALOGS = @CATALOGS@
        mv t-$@ $@
 
 
-all: check-macro-version all-@USE_NLS@
+all: all-@USE_NLS@
 
 all-yes: stamp-po
 all-no:
 
 # Ensure that the gettext macros and this Makefile.in.in are in sync.
-check-macro-version:
-       @test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
+CHECK_MACRO_VERSION = \
+       test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
          || { 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; \
               exit 1; \
             }
@@ -123,6 +123,7 @@ check-macro-version:
 # $(POFILES) has been designed to not touch files that don't need to be
 # changed.
 stamp-po: $(srcdir)/$(DOMAIN).pot
+       @$(CHECK_MACRO_VERSION)
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
index 188aecea332c410a263b642e5153c8e93b08d049..d3817a9f73cbfd48fa28f75d73240f2ada5f708e 100644 (file)
@@ -1,3 +1,13 @@
+2011-08-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Makefile.in.in: fix make -q problem
+       * build-aux/po/Makefile.in.in (check-macro-version): Remove this
+       rule, since there's no file named 'check-macro-version' and its
+       use as a file breaks make -q.
+       (all): Don't depend on check-macro-version.
+       (CHECK_MACRO_VERSION): New macro.
+       (stamp-po): Use it.
+
 2011-08-28  Bruno Haible  <bruno@clisp.org>
 
        * ja.po: Update from Masahito Yamaga <ma@yama-ga.com>.
index e666eaaa249a1a79a1167d841ed0d9f2a5b0c1fc..fce63a6e95e32260270df498b020b5ddf317d32f 100644 (file)
@@ -96,14 +96,14 @@ CATALOGS = @CATALOGS@
        mv t-$@ $@
 
 
-all: check-macro-version all-@USE_NLS@
+all: all-@USE_NLS@
 
 all-yes: stamp-po
 all-no:
 
 # Ensure that the gettext macros and this Makefile.in.in are in sync.
-check-macro-version:
-       @test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
+CHECK_MACRO_VERSION = \
+       test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
          || { 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; \
               exit 1; \
             }
@@ -123,6 +123,7 @@ check-macro-version:
 # $(POFILES) has been designed to not touch files that don't need to be
 # changed.
 stamp-po: $(srcdir)/$(DOMAIN).pot
+       @$(CHECK_MACRO_VERSION)
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \