INN commit: branches/2.5/innfeed (Makefile)
INN Commit
rra at isc.org
Sat Dec 29 21:12:11 UTC 2012
Date: Saturday, December 29, 2012 @ 13:12:11
Author: eagle
Revision: 9452
Add additional dependency to de-parallelize innfeed yacc rule
With a highly parallel make, yacc could be invoked on the innfeed
configuration parser twice, once to build the *.c file and once to
build the *.h file, leading to one of the mv commands failing.
Follow the recommendation in the Automake manual and add an
additional dependency from the *.h file to the *.c file, forcing
the rule to be run once.
Reported by Remco Rijnders.
Modified:
branches/2.5/innfeed/Makefile
----------+
Makefile | 1 +
1 file changed, 1 insertion(+)
Modified: Makefile
===================================================================
--- Makefile 2012-12-29 21:11:58 UTC (rev 9451)
+++ Makefile 2012-12-29 21:12:11 UTC (rev 9452)
@@ -58,6 +58,7 @@
$(YACC) -d $?
mv y.tab.h config_y.h
mv y.tab.c config_y.c
+config_y.h: config_y.c
config_l.c: configfile.l
$(LEX) $?
More information about the inn-committers
mailing list