]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid build failures caused by parallel make.
authorBruno Haible <bruno@clisp.org>
Tue, 2 Jan 2018 20:57:12 +0000 (21:57 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 2 Jan 2018 20:57:12 +0000 (21:57 +0100)
Reported by Andrew Stormont <andyjstormont@gmail.com>
at <https://savannah.gnu.org/bugs/?48412>.

* gettext-tools/doc/Makefile.am (GNUMAKEFLAGS): New variable.
* gettext-tools/src/Makefile.am (cldr-plural.h): Add dependency.

gettext-tools/doc/Makefile.am
gettext-tools/src/Makefile.am

index 3768dbe6011b40511b2525f9a7103e36c8fdb819..a38e8df13df3a4095ad63dd721eb15662c741928 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the gettext-tools/doc subdirectory of GNU gettext
-## Copyright (C) 1995-1997, 2001-2007, 2009, 2015-2016 Free Software
+## Copyright (C) 1995-1997, 2001-2007, 2009, 2015-2016, 2018 Free Software
 ## Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## Process this file with automake to produce Makefile.in.
 
 AUTOMAKE_OPTIONS = 1.2 gnits
+
+# This directory does not support parallel make.
+# So, turn off parallel execution (at least in GNU make >= 4.0).
+GNUMAKEFLAGS = -j1
+
 EXTRA_DIST =
 MOSTLYCLEANFILES =
 
index 764afd13a15eb0832cbec64f1a6899fb16c5e2b3..edd6d86b6c71046706b05a6ec1f776be0635abc2 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the gettext-tools/src subdirectory of GNU gettext
-## Copyright (C) 1995-1998, 2000-2011, 2015-2017 Free Software Foundation, Inc.
+## Copyright (C) 1995-1998, 2000-2011, 2015-2018 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -466,6 +466,8 @@ po-gram-gen2.h: po-gram-gen.h
        mv $@-tmp $@
 po-gram-gen.h: po-gram-gen.c
 
+cldr-plural.h: cldr-plural.c
+
 
 # Special rules for installation of auxiliary programs.