Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
176c8663
Commit
176c8663
authored
8 years ago
by
Julien Signoles
Browse files
Options
Downloads
Patches
Plain Diff
[refman] improved Makefile
parent
31c46c7b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/e-acsl/doc/refman/Makefile
+47
-46
47 additions, 46 deletions
src/plugins/e-acsl/doc/refman/Makefile
src/plugins/e-acsl/doc/refman/eacslversion.tex
+1
-1
1 addition, 1 deletion
src/plugins/e-acsl/doc/refman/eacslversion.tex
with
48 additions
and
47 deletions
src/plugins/e-acsl/doc/refman/Makefile
+
47
−
46
View file @
176c8663
##########
# Inputs #
##########
VERSION_FILE
=
../../VERSION
EACSL_VERSION
=
$(
shell
cat
$(
VERSION_FILE
))
MAIN
=
main
DEPS_MODERN
=
macros_modern.tex eacslversion.tex biblio.bib
\
...
...
@@ -12,25 +17,35 @@ DEPS_MODERN=macros_modern.tex eacslversion.tex biblio.bib \
ghost_modern.bnf generalinvariants_modern.bnf iterator_modern.bnf
\
bsearch.c bsearch2.c link.c
.PHONY
:
all e-acsl default
##############
# Main rules #
##############
.PHONY
:
all e-acsl default
default
:
e-acsl.pdf
e-acsl
:
e-acsl-implementation.pdf e-acsl.pdf main.pdf
all
:
e-acsl
LANGUAGE_VERSION
=
1.9
EACSL_VERSION
=
$(
shell
cat
$(
VERSION_FILE
))
e-acsl-implementation.pdf
:
$(DEPS_MODERN)
e-acsl-implementation.tex
:
$(MAIN).tex Makefile
rm
-f
$@
sed
-e
'/PrintRemarks/s/%--//'
$^
>
$@
chmod
a-w
$@
e-acsl.pdf
:
$(DEPS_MODERN)
e-acsl.tex
:
e-acsl-implementation.tex Makefile
rm
-f
$@
sed
-e
'/PrintImplementationRq/s/%--//'
\
-e
'/ColorImplementationRq/s/%--//'
\
$^
>
$@
chmod
a-w
$@
$(MAIN).pdf
:
$(DEPS_MODERN)
EACSL_DIR
=
../..
DISTRIB_DIR
=
$(
HOME
)
/frama-c/doc/www/distrib
install
:
e-acsl-implementation.pdf e-acsl.pdf
cp
-f
$^
$(
EACSL_DIR
)
/doc/manuals
# cp -f e-acsl.pdf
\
#
$(
DISTRIB_DIR
)
/download/e-acsl/e-acsl-
$(
LANGUAGE_VERSION
)
.pdf
# cp -f e-acsl-implementation.pdf
\
#
$(
DISTRIB_DIR
)
/download/e-acsl/e-acsl-implementation-
$(
EACSL_VERSION
)
.pdf
include
$(EACSL_DIR)/doc/support/MakeLaTeXModern
...
...
@@ -39,6 +54,29 @@ eacslversion.tex: Makefile $(VERSION_FILE)
echo
'\\newcommand{\\eacslversion}{
$(
EACSL_VERSION
)
}'
>
$@
chmod
a-w
$@
.PHONY
:
clean
clean
:
rm
-rf
*
~
*
.aux
*
.log
*
.nav
*
.out
*
.snm
*
.toc
*
.lof
*
.pp
*
.bnf
\
*
.haux
*
.hbbl
*
.htoc
\
*
.cb
*
.cm?
*
.bbl
*
.blg
*
.idx
*
.ind
*
.ilg
\
transf trans.ml pp.ml pp
#########
# Tools #
#########
pp
:
pp.ml
ocamlopt
-o
$@
str.cmxa
$^
transf
:
transf.cmo transfmain.cmo
ocamlc
-o
$@
$^
transfmain.cmo
:
transf.cmo
#################
# Generic rules #
#################
%.1
:
%.mp
mpost
-interaction
=
batchmode
$<
...
...
@@ -78,40 +116,3 @@ eacslversion.tex: Makefile $(VERSION_FILE)
%.cmo
:
%.ml
ocamlc
-c
$<
pp
:
pp.ml
ocamlopt
-o
$@
str.cmxa
$^
transf
:
transf.cmo transfmain.cmo
ocamlc
-o
$@
$^
transfmain.cmo
:
transf.cmo
.PHONY
:
clean
clean
:
rm
-rf
*
~
*
.aux
*
.log
*
.nav
*
.out
*
.snm
*
.toc
*
.lof
*
.pp
*
.bnf
\
*
.haux
*
.hbbl
*
.htoc
\
*
.cb
*
.cm?
*
.bbl
*
.blg
*
.idx
*
.ind
*
.ilg
\
transf trans.ml pp.ml pp
# version WEB lie ce qui est implement
e-acsl-implementation.pdf
:
$(DEPS_MODERN)
e-acsl-implementation.tex
:
$(MAIN).tex Makefile
rm
-f
$@
sed
-e
'/PrintRemarks/s/%--//'
$^
>
$@
chmod
a-w
$@
# version WEB du langage E-ACSL
e-acsl.pdf
:
$(DEPS_MODERN)
e-acsl.tex
:
e-acsl-implementation.tex Makefile
rm
-f
$@
sed
-e
'/PrintImplementationRq/s/%--//'
\
-e
'/ColorImplementationRq/s/%--//'
\
$^
>
$@
chmod
a-w
$@
# version pour le goupe de travail E-ACSL
$(MAIN).pdf
:
$(DEPS_MODERN)
This diff is collapsed.
Click to expand it.
src/plugins/e-acsl/doc/refman/eacslversion.tex
+
1
−
1
View file @
176c8663
\newcommand
{
\eacslversion
}{
0.8
}
\newcommand
{
\eacslversion
}{
0.8
+dev
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment