Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
122
Issues
122
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
42932a5c
Commit
42932a5c
authored
Mar 18, 2016
by
Guillaume Melquiond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ocamlc for doc/bnf (fix bug #20161) and clean more files (fix bug #20159).
parent
28fe8606
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
Makefile.in
Makefile.in
+11
-6
No files found.
Makefile.in
View file @
42932a5c
...
@@ -1672,12 +1672,12 @@ BNF = qualid label constant operator term type formula theory theory2 \
...
@@ -1672,12 +1672,12 @@ BNF = qualid label constant operator term type formula theory theory2 \
why_file spec
expr
expr2 module whyml_file term_old_at
why_file spec
expr
expr2 module whyml_file term_old_at
BNFTEX
=
$(
addprefix
doc/,
$(
addsuffix
_bnf.tex,
$(BNF)
))
BNFTEX
=
$(
addprefix
doc/,
$(
addsuffix
_bnf.tex,
$(BNF)
))
doc/%_bnf.tex
:
doc/%.bnf doc/bnf
doc/%_bnf.tex
:
doc/%.bnf doc/bnf
$(EXE)
doc/bnf
$<
>
$@
doc/bnf
$(EXE)
$<
>
$@
doc/bnf
:
doc/bnf.mll
doc/bnf
$(EXE)
:
doc/bnf.mll
$(OCAMLLEX)
$<
$(OCAMLLEX)
$<
$(OCAML
OPT
)
-o
$@
doc/bnf.ml
$(OCAML
C
)
-o
$@
doc/bnf.ml
DOC
=
api glossary ide intro
exec
macros manpages
install
\
DOC
=
api glossary ide intro
exec
macros manpages
install
\
manual starting syntax syntaxref technical version whyml
\
manual starting syntax syntaxref technical version whyml
\
...
@@ -1688,6 +1688,9 @@ DOCTEX = $(addprefix doc/, $(addsuffix .tex, $(DOC)))
...
@@ -1688,6 +1688,9 @@ DOCTEX = $(addprefix doc/, $(addsuffix .tex, $(DOC)))
doc/manual.pdf
:
$(BNFTEX) $(DOCTEX) doc/manual.bib share/provers-detection-data.conf
doc/manual.pdf
:
$(BNFTEX) $(DOCTEX) doc/manual.bib share/provers-detection-data.conf
cd
doc
;
$(RUBBER)
--warn
all
--pdf
manual.tex
cd
doc
;
$(RUBBER)
--warn
all
--pdf
manual.tex
CLEANDIRS
+=
doc
GENERATED
+=
doc/bnf.ml
ifeq
(@enable_html_doc@,yes)
ifeq
(@enable_html_doc@,yes)
# the dependency on the pdf ensures the bbl was built
# the dependency on the pdf ensures the bbl was built
...
@@ -1706,7 +1709,8 @@ doc/html/index.html:
...
@@ -1706,7 +1709,8 @@ doc/html/index.html:
endif
endif
clean
::
clean
::
cd
doc
;
rm
-rf
html
;
$(RUBBER)
--pdf
--clean
manual.tex
rm
-rf
doc/bnf
$(EXE)
$(BNFTEX)
doc/html doc/manual.image.out
;
\
cd
doc
;
$(RUBBER)
--pdf
--clean
manual.tex
else
else
...
@@ -2001,7 +2005,8 @@ configure: configure.in Version
...
@@ -2001,7 +2005,8 @@ configure: configure.in Version
distclean
:
clean
distclean
:
clean
rm
-f
config.status config.cache config.log .merlin
\
rm
-f
config.status config.cache config.log .merlin
\
Makefile src/util/config.ml doc/version.tex
Makefile src/util/config.ml doc/version.tex
\
src/jessie/Makefile src/config.sh lib/why3/META
depend
:
depend
:
rm
-f
$^
rm
-f
$^
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment