Commit 767b99c0 authored by Jean-Christophe Filliâtre's avatar Jean-Christophe Filliâtre
Browse files

fabrication de src/version.ml

parent fcf05d12
...@@ -85,6 +85,14 @@ check: $(BINARY) $(PRELUDE) ...@@ -85,6 +85,14 @@ check: $(BINARY) $(PRELUDE)
WHYLIB=lib $(BINARY) -tc $$f; \ WHYLIB=lib $(BINARY) -tc $$f; \
done done
# version number
################
include Version
doc/version.tex src/version.ml: Version version.sh config.status
BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) COQVER=$(COQVER) ./version.sh
# why # why
##### #####
......
...@@ -21,4 +21,3 @@ echo "let libdir = \"$LIBDIR/why\"" >> $WHYVF ...@@ -21,4 +21,3 @@ echo "let libdir = \"$LIBDIR/why\"" >> $WHYVF
DOCF=doc/version.tex DOCF=doc/version.tex
mkdir -p doc mkdir -p doc
printf '\\newcommand{\\whyversion}{'$VERSION'}\n' > $DOCF printf '\\newcommand{\\whyversion}{'$VERSION'}\n' > $DOCF
printf '\\newcommand{\\caduceusversion}{'$CVERSION'}\n' >> $DOCF
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment