INN commit: branches/2.5/innfeed (Makefile)
INN Commit
rra at isc.org
Sun Dec 30 18:01:39 UTC 2012
Date: Sunday, December 30, 2012 @ 10:01:39
Author: eagle
Revision: 9454
Fix the innfeed configfile parser generation rule
Using $? in the rule, now that the extra dependency has been added,
caused the wrong arguments to be passed to bison. Pass the correct
arguments explicitly.
This still seems to run bison twice for reasons that I can't figure
out, but that should be harmless.
Modified:
branches/2.5/innfeed/Makefile
----------+
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: Makefile
===================================================================
--- Makefile 2012-12-30 18:01:28 UTC (rev 9453)
+++ Makefile 2012-12-30 18:01:39 UTC (rev 9454)
@@ -55,9 +55,10 @@
INNFEEDLIBS = $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
config_y.c config_y.h: configfile.y
- $(YACC) -d $?
+ $(YACC) -d configfile.y
mv y.tab.h config_y.h
mv y.tab.c config_y.c
+ touch config_y.h
config_y.h: config_y.c
config_l.c: configfile.l
More information about the inn-committers
mailing list