From: Bruno Haible Date: Tue, 2 Jan 2018 20:57:12 +0000 (+0100) Subject: Avoid build failures caused by parallel make. X-Git-Tag: v0.20~442 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=de019b57b6541fd02a51d63fa2458f9d573092aa;p=thirdparty%2Fgettext.git Avoid build failures caused by parallel make. Reported by Andrew Stormont at . * gettext-tools/doc/Makefile.am (GNUMAKEFLAGS): New variable. * gettext-tools/src/Makefile.am (cldr-plural.h): Add dependency. --- diff --git a/gettext-tools/doc/Makefile.am b/gettext-tools/doc/Makefile.am index 3768dbe60..a38e8df13 100644 --- a/gettext-tools/doc/Makefile.am +++ b/gettext-tools/doc/Makefile.am @@ -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 @@ -18,6 +18,11 @@ ## 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 = diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am index 764afd13a..edd6d86b6 100644 --- a/gettext-tools/src/Makefile.am +++ b/gettext-tools/src/Makefile.am @@ -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.