fabrication de src/version.ml

parent fcf05d12
......@@ -85,6 +85,14 @@ check: $(BINARY) $(PRELUDE)
WHYLIB=lib $(BINARY) -tc $$f; \
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
#####
......
......@@ -21,4 +21,3 @@ echo "let libdir = \"$LIBDIR/why\"" >> $WHYVF
DOCF=doc/version.tex
mkdir -p doc
printf '\\newcommand{\\whyversion}{'$VERSION'}\n' > $DOCF
printf '\\newcommand{\\caduceusversion}{'$CVERSION'}\n' >> $DOCF
Markdown is supported
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