From: Daiki Ueno Date: Fri, 23 Jan 2015 02:22:47 +0000 (+0900) Subject: build: Fix parallel build from git checkout X-Git-Tag: v0.19.5~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb99ce9704fbad1829b8dd2b64e62c3896386f30;p=thirdparty%2Fgettext.git build: Fix parallel build from git checkout Since po-gram-gen2.h depends on po-gram-gen.h, an explicit dependency on the YACC rule is needed for parallel compilation. * Makefile.am (po-gram-gen.h): Depend on po-gram-gen.c. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 7a96c1858..d0ad21fbc 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,10 @@ +2015-01-23 Daiki Ueno + + build: Fix parallel build from git checkout + Since po-gram-gen2.h depends on po-gram-gen.h, an explicit + dependency on the YACC rule is needed for parallel compilation. + * Makefile.am (po-gram-gen.h): Depend on po-gram-gen.c. + 2015-01-16 Daiki Ueno desktop: Avoid useless warning for group header diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am index 9f2325fcd..b8dd70cd0 100644 --- a/gettext-tools/src/Makefile.am +++ b/gettext-tools/src/Makefile.am @@ -455,6 +455,7 @@ po-gram-gen2.h: po-gram-gen.h $(SED) -e 's/yy/po_gram_/g' -e 's/extern /extern DLL_VARIABLE /' \ $${srcdir}po-gram-gen.h > $@-tmp && \ mv $@-tmp $@ +po-gram-gen.h: po-gram-gen.c # Special rules for installation of auxiliary programs.