]> granicus.if.org Git - graphviz/commitdiff
explicitly name output of lib/expr/exparse.y rule
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 2 Sep 2020 01:23:37 +0000 (18:23 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 8 Sep 2020 14:39:21 +0000 (07:39 -0700)
This has no effect right now, but an upcoming change modifies api.prefix which,
without this, would alter the name of the generated parser. Related to #1806.

lib/expr/Makefile.am

index 52802ec2ddb9afef296e96f029ca346dd8cf17a8..d031e7bd9062a8a7335ad7cca3832cd3ffaa8c3f 100644 (file)
@@ -67,7 +67,7 @@ exparse.h: y.tab.h
 y.tab.c y.tab.h: y.output
 
 y.output: $(top_srcdir)/lib/expr/exparse.y
-       @YACC@ -Wno-yacc -dtv $(top_srcdir)/lib/expr/exparse.y
+       @YACC@ -Wno-yacc -dtv $(top_srcdir)/lib/expr/exparse.y -o y.tab.c
 
 expr.3.pdf: expr.3.ps
        @PS2PDF@ $< $@