Commit 78676cc0 authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Ship and install the HTML manual.

parent ed16c887
......@@ -3,16 +3,18 @@
## 2018/05/23
* New commands `--infer-write-query`, `--infer-read-reply`, and
`--infer-protocol-supported`. These commands remove the need
for Menhir to invoke `ocamlc` and `ocamldep` behind the scenes,
and make it easier to write correct build rules for Menhir projects.
The command line options `--infer`, `--raw-depend` and `--depend`
remain supported, but are no longer preferred. (Suggested by
Fabrice Le Fessant.)
* Remove the warning that was issued when `%inline` was used but `--infer`
was turned off. Most people should use a build system that knows how to
enable OCaml type inference, such as `ocamlbuild` or `dune`.
`--infer-protocol-supported`. These commands remove the need for Menhir to
invoke `ocamlc` and `ocamldep` behind the scenes, and make it easier to
write correct build rules for Menhir projects. The command line options
`--infer`, `--raw-depend` and `--depend` remain supported, but are no longer
preferred. (Suggested by Fabrice Le Fessant.)
* Remove the warning that was issued when `%inline` was used but `--infer` was
turned off. Most people should use a build system that knows how to enable
OCaml type inference, such as `ocamlbuild` or `dune`.
* New HTML rendering of the manual, available both online and as part of
Menhir's installation. (Implemented by Gabriel Scherer.)
## 2017/12/22
......
......@@ -140,6 +140,7 @@ package: clean
@ echo '\gdef\menhirversion{$(DATE)}' > $(PACKAGE)/doc/version.tex
@ make -C $(PACKAGE)/doc clean all
@ mv $(PACKAGE)/doc/main.pdf $(PACKAGE)/manual.pdf
@ mv $(PACKAGE)/doc/main.html $(PACKAGE)/manual.html
@ mv $(PACKAGE)/doc/menhir.1 $(PACKAGE)/
# Include a copy of the sources of the documentation,
# as Debian requires this for the PDF to be included
......@@ -209,8 +210,7 @@ PAGE := /home/fpottier/dev/page
export:
# Copier l'archive et la doc vers yquem.
$(RSYNC) $(TARBALL) $(TARGET)
$(RSYNC) $(PACKAGE)/manual.pdf $(TARGET)
$(RSYNC) $(TARBALL) $(PACKAGE)/manual.pdf $(PACKAGE)/manual.html $(TARGET)
# Mettre jour la page Web de Menhir avec le nouveau numro de version.
cd $(PAGE) && \
cvs up && \
......
......@@ -11,6 +11,7 @@
# demos
# menhir.1
# manual.pdf
# manual.html
# src
# Makefile (this one)
......@@ -50,7 +51,7 @@ docdir := $(PREFIX)/share/doc/menhir
libdir := $(PREFIX)/share/menhir
mandir := $(PREFIX)/share/man/man1
MANS := menhir.1
DOCS := manual.pdf demos
DOCS := manual.pdf manual.html demos
MLYLIB := src/standard.mly
# ----------------------------------------------------------------------------
......
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