summaryrefslogtreecommitdiff
path: root/language/Makefile
diff options
context:
space:
mode:
authorPeter Sewell2013-07-17 16:50:36 +0100
committerPeter Sewell2013-07-17 16:50:36 +0100
commit9538d030494bdfb07bdbd5c99ebb64a8fffe55e7 (patch)
treefd7d7eb0909f9d82bbe35633e8e7261e1ec6d64e /language/Makefile
parent80fd65368f2769a29ce657aaffef50f3c8f0455f (diff)
wib
Diffstat (limited to 'language/Makefile')
-rw-r--r--language/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/language/Makefile b/language/Makefile
index 2c3d2512..f8d4d05d 100644
--- a/language/Makefile
+++ b/language/Makefile
@@ -1,10 +1,13 @@
OTTLIB=$(dir $(shell which ott))../hol
-all: l2.pdf parse_ast.ml
+all: l2.pdf l2_parse.pdf parse_ast.ml
l2.pdf: l2.tex
pdflatex l2.tex
+l2_parse.pdf: l2_parse.tex
+ pdflatex l2_parse.tex
+
l2Theory.uo: l2Script.sml
Holmake --qof -I $(OTTLIB) l2Theory.uo
@@ -12,7 +15,8 @@ l2.tex ../src/ast.ml l2Script.sml: l2.ott
ott -sort false -generate_aux_rules false -o l2.tex -picky_multiple_parses true l2.ott
ott -sort false -generate_aux_rules true -ocaml_include_terminals true -o ../src/ast.ml -o l2Script.sml -picky_multiple_parses true l2.ott
-parse_ast.ml ../src/parse_ast.ml: l2_parse.ott
+l2_parse.tex parse_ast.ml ../src/parse_ast.ml: l2_parse.ott
+ ott -sort false -generate_aux_rules false -o l2_parse.tex -picky_multiple_parses true l2_parse.ott
ott -sort false -generate_aux_rules true -ocaml_include_terminals true -o ../src/parse_ast.ml -picky_multiple_parses true l2_parse.ott