[sketch] 01/02: Don't run bison twice
David Bremner
bremner at debian.org
Wed Aug 23 00:44:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
bremner pushed a commit to annotated tag debian/0.3.7-6
in repository sketch.
commit 56eac0b2bc62013e230a8d562bbf6e2f1908466c
Author: David Bremner <bremner at debian.org>
Date: Tue Aug 22 21:27:31 2017 -0300
Don't run bison twice
Previously bison is run twice, with an output file already being used
while the second bison regenerates it again resulting in an incomplete
file being used.
Based on a patch from Adrian Bunk
---
makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/makefile b/makefile
index b563f09..a820977 100644
--- a/makefile
+++ b/makefile
@@ -43,7 +43,9 @@ HEADERS=bsp.h cmdline.h dynarray.h emit.h error.h expr.h geometry.h geomio.h\
$(EXE) : $(OBJECTS)
$(CC) -o $(EXE) $(OBJECTS) -lm
-y.tab.c y.tab.h : sketch.y
+y.tab.c : y.tab.h
+
+y.tab.h : sketch.y
$(YACC) $<
lex.yy.c : sketch.l
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sketch.git
More information about the debian-science-commits
mailing list