Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Why3
why3
Commits
d4eba824
Commit
d4eba824
authored
Dec 07, 2017
by
Guillaume Melquiond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve gallery generation.
parent
e116e159
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
Makefile.in
Makefile.in
+13
-13
No files found.
Makefile.in
View file @
d4eba824
...
...
@@ -639,13 +639,13 @@ gallery-simple::
@
for
x
in
examples/
*
/why3session.xml
;
do
\
d
=
`
dirname
$$
x
`
;
\
f
=
`
basename
$$
d
`
;
\
why3 session html
$$
x
;
\
echo
"exporting
$$
f"
;
\
mkdir
-p
$(GALLERYDIR)
/
$$
f
;
\
cp
examples/
$$
f.mlw examples/
$$
f/why3session.html
$(GALLERYDIR)
/
$$
f
/
;
\
rm
-f
$(GALLERYDIR)
/
$$
f/
$$
f.zip
;
\
WHY3CONFIG
=
""
bin/why3session.@OCAMLBEST@ html
$$
x
-o
$(GALLERYDIR)
/
$$
f
;
\
cp
examples/
$$
f.mlw
$(GALLERYDIR)
/
$$
f/
;
\
cd
examples/
;
\
zip
-r
$(GALLERYDIR)
/
$$
f/
$$
f.zip
$$
f.mlw
$$
f
;
\
rm
-f
$(GALLERYDIR)
/
$$
f/
$$
f.zip
;
\
zip
-q
-r
$(GALLERYDIR)
/
$$
f/
$$
f.zip
$$
f.mlw
$$
f
;
\
cd
..
;
\
done
...
...
@@ -657,11 +657,12 @@ gallery-subs::
@
if
test
"
$(GALLERYDIR)
"
=
""
;
then
echo
"set GALLERYDIR first"
;
exit
1
;
fi
@
for
d
in
$(GALLERYSUBS)
;
do
\
echo
"exporting examples/
$$
d"
;
\
r
m
-
f
$(GALLERYDIR)
/
$$
d
/
$$
d.zip
;
\
m
kdir
-
p
$(GALLERYDIR)
/
$$
d
;
\
cd
examples/
$$
d
;
\
why3
-L
.
doc
--stdlib-url
http://why3.lri.fr/stdlib/
*
.mlw
-o
$(GALLERYDIR)
/
$$
d
;
\
WHY3CONFIG
=
""
../../bin/why3doc.@OCAMLBEST@
-L
../../theories
-L
../../modules
-L
.
--stdlib-url
http://why3.lri.fr/stdlib/
*
.mlw
-o
$(GALLERYDIR)
/
$$
d
;
\
cd
..
;
\
zip
-r
$(GALLERYDIR)
/
$$
d/
$$
d.zip
$$
d
;
\
rm
-f
$(GALLERYDIR)
/
$$
d/
$$
d.zip
;
\
zip
-q
-r
$(GALLERYDIR)
/
$$
d/
$$
d.zip
$$
d
;
\
cd
..
;
\
done
...
...
@@ -671,16 +672,15 @@ gallery-subs::
x
=
$*
/why3session.xml
;
\
d
=
`
dirname
$$
x
`
;
\
f
=
`
basename
$$
d
`
;
\
why3 session html
$$
d
;
\
rm
$$
d/
*
.bak
;
\
echo
"exporting
$$
f"
;
\
rm
-f
$$
d/
*
.bak
;
\
mkdir
-p
$(GALLERYDIR)
/
$$
f
;
\
WHY3CONFIG
=
""
bin/why3session.@OCAMLBEST@ html
$$
d
-o
$(GALLERYDIR)
/
$$
f
;
\
if
test
-f
examples/
$$
f.mlw
;
then
cp
examples/
$$
f.mlw
$(GALLERYDIR)
/
$$
f/
;
fi
;
\
if
test
-f
examples/
$$
f.why
;
then
cp
examples/
$$
f.why
$(GALLERYDIR)
/
$$
f/
;
fi
;
\
cp
examples/
$$
f/why3session.html
$(GALLERYDIR)
/
$$
f/
;
\
rm
-f
$(GALLERYDIR)
/
$$
f/
$$
f.zip
;
\
cd
examples/
;
\
zip
-r
$(GALLERYDIR)
/
$$
f/
$$
f.zip
$$
f.mlw
$$
f
rm
-f
$(GALLERYDIR)
/
$$
f/
$$
f.zip
;
\
zip
-q
-r
$(GALLERYDIR)
/
$$
f/
$$
f.zip
$$
f.mlw
$$
f
########
# XML DTD validation
...
...
@@ -1685,7 +1685,7 @@ test-runstrat.opt: lib/why3/why3.cmxa lib/why3/META
OCAMLPATH
=
$(PWD)
/lib
$(MAKE)
-C
examples/use_api/runstrat clean
OCAMLPATH
=
$(PWD)
/lib
$(MAKE)
-C
examples/use_api/runstrat opt
test-runstrat
:
test-runstrat.
$(
OCAMLBEST
)
test-runstrat
:
test-runstrat.
@
OCAMLBEST
@
test-ocaml-extraction
:
bin/why3.opt bin/why3extract.opt lib/why3/why3extract.cmxa
@
echo
"driver ocaml32"
...
...
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