Skip to content
Snippets Groups Projects
Commit 6778adfd authored by DavidCok's avatar DavidCok Committed by Virgile Prevosto
Browse files

Weekend edits

parent 8f9f90f4
No related branches found
No related tags found
No related merge requests found
main.pdf main.pdf
*.aux
*.bbl
*.blg
*.ilg
*.ind
*.log
*.out
*.toc
MAIN=main MAIN=main
C_CODE=$(wildcard examples/*.[ci]) C_CODE=$(wildcard examples/*.[ci])
VERSION_FILE=../../../../../VERSION
ifeq ("$(wildcard $(VERSION_FILE))", "")
VERSION_FILE=../../VERSION
FC_VERSION+=Potassium+ FC_VERSION+=Potassium+
else
#internal mode
FC_VERSION=$(shell cat $(VERSION_FILE))
endif
FCLANG_VERSION= $(shell cat $(VERSION_FILE))
DEPS_MODERN=fclangversion.tex biblio.bib macros.tex \ DEPS_MODERN=biblio.bib \
introduction.tex \ changes.tex \
description.tex \ description.tex \
grammar.tex \
introduction.tex \
limitations.tex \ limitations.tex \
changes.tex \ macros.tex \
preprocessing.tex \
fclangversion.tex \
$(C_CODE) \ $(C_CODE) \
$(VERSION_FILE) Makefile
default: main.pdf default: main.pdf
main.pdf: $(DEPS_MODERN) main.pdf: main.tex $(DEPS_MODERN)
EACSL_DIR=../.. FCLANG_DIR=../..
DISTRIB_DIR=$(HOME)/frama-c/doc/www/distrib DISTRIB_DIR=$(HOME)/frama-c/doc/www/distrib
install: install:
mkdir -p $(EACSL_DIR)/doc/manuals/ mkdir -p $(FCLANG_DIR)/doc/manuals/
cp -f main.pdf $(EACSL_DIR)/doc/manuals/e-acsl-manual.pdf cp -f main.pdf $(FCLANG_DIR)/doc/manuals/fclang-manual.pdf
# cp -f main.pdf \
$(DISTRIB_DIR)/download/e-acsl/e-acsl-manual-$(EACSL_VERSION).pdf
include $(EACSL_DIR)/doc/support/MakeLaTeXModern include $(FCLANG_DIR)/doc/support/MakeLaTeXModern
fclangversion.tex: Makefile version.tex: Makefile
rm -f $@
printf '\\newcommand{\\fclangversion}{$(FCLANG_VERSION)\\xspace}\n' > $@
printf '\\newcommand{\\fcversion}{$(FC_VERSION)\\xspace}\n' >> $@
chmod a-w $@
%.1: %.mp %.1: %.mp
mpost -interaction=batchmode $< mpost -interaction=batchmode $<
...@@ -69,7 +59,7 @@ fclangversion.tex: Makefile ...@@ -69,7 +59,7 @@ fclangversion.tex: Makefile
%.ml: %.mll %.ml: %.mll
ocamllex $< ocamllex $<
%.pdf: %.tex Makefile $(DEPS_MODERN) %.pdf: %.tex
pdflatex $* pdflatex $*
makeindex $* makeindex $*
bibtex $* bibtex $*
...@@ -94,4 +84,3 @@ clean: ...@@ -94,4 +84,3 @@ clean:
*.haux *.hbbl *.htoc \ *.haux *.hbbl *.htoc \
*.cb* *.cm? *.bbl *.blg *.idx *.ind *.ilg \ *.cb* *.cm? *.bbl *.blg *.idx *.ind *.ilg \
transf trans.ml pp.ml pp transf trans.ml pp.ml pp
rm -f fclangversion.tex
...@@ -7,6 +7,12 @@ ...@@ -7,6 +7,12 @@
note = {\url{http://frama-c.cea.fr/download/user-manual.pdf}} note = {\url{http://frama-c.cea.fr/download/user-manual.pdf}}
} }
@manual{acslpp,
title = {ACSL++: ANSI/ISO C++ Specification Language},
author = {David R. Cok}
}
%% TODO - add a url to the above
@manual{plugin-dev-guide, @manual{plugin-dev-guide,
author = {Julien Signoles and Loc Correnson and Matthieu Lemerre and author = {Julien Signoles and Loc Correnson and Matthieu Lemerre and
Virgile Prevosto}, Virgile Prevosto},
......
\newcommand{\fclangversion}{Chlorine+\xspace}
\newcommand{\fcversion}{Potassium+\xspace}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment