summaryrefslogtreecommitdiff
path: root/lib/Automake/Parser/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Automake/Parser/Makefile')
-rw-r--r--lib/Automake/Parser/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Automake/Parser/Makefile b/lib/Automake/Parser/Makefile
index b98bffcc5..3d5a269e2 100644
--- a/lib/Automake/Parser/Makefile
+++ b/lib/Automake/Parser/Makefile
@@ -1,20 +1,20 @@
-all: execute
+all: ast.png
-execute: Lexer.pm Tree.pm ParserTable.pm parser.pl
+ast.png: Lexer.pm Tree.pm ParserTable.pm parser.pl
perl -I. parser.pl
unflatten -f -l 5 -c 6 -o ast1.gv ast.gv
dot -Tpng ast1.gv > ast.png
rm ast1.gv
-build: buildGrammer buildTree
+build: automake.dot ParserTable.pm
-buildGrammer: automake.y
+automake.dot: automake.y
bison --graph automake.y
rm automake.tab.c
unflatten -f -l 5 -c 6 -o automake1.dot automake.dot
dot -Tpng automake1.dot > automake.png
rm automake1.dot
-buildTree: automake.dot Converter.pl
- perl -I. Converter.pl
+ParserTable.pm: automake.dot Converter.pl
+ perl -I. Converter.pl < automake.dot > ParserTable.pm