diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-08-11 10:46:26 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-08-11 11:22:09 -0700 |
commit | 91055193d7a3fdb53912ae023ab9b35223f8361b (patch) | |
tree | ae37624f48dc47bc4b00542e436be0b3dc6366fa /build-aux/po | |
parent | 273b8a358f8c1674ec8bf15f06cd55c21f61ddf1 (diff) | |
download | gnulib-91055193d7a3fdb53912ae023ab9b35223f8361b.tar.gz |
po/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.
Diffstat (limited to 'build-aux/po')
-rw-r--r-- | build-aux/po/Makefile.in.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build-aux/po/Makefile.in.in b/build-aux/po/Makefile.in.in index 83d8838ac0..caedd7fde2 100644 --- a/build-aux/po/Makefile.in.in +++ b/build-aux/po/Makefile.in.in @@ -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 || { \ |