Parse the new output of warn-help.

git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@12045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Alain Frisch 2012-01-18 12:15:13 +00:00
parent 786640595d
commit dbc443b00a
1 changed files with 1 additions and 1 deletions

View File

@ -121,4 +121,4 @@ version.tex: $(SRC)/stdlib/sys.ml
sed -n -e 's/^\([0-9]*\.[0-9]*\).*$$/\\def\\ocamlversion{\1}/p' $(SRC)/VERSION > version.tex
warnings.tex: $(SRC)/utils/warnings.ml
$(SRC)/boot/ocamlrun $(SRC)/ocamlc -warn-help | sed -e 's/^ *\([0-9][0-9]*\)\(.*\)/\\item[\1] \2/' > warnings.tex
$(SRC)/boot/ocamlrun $(SRC)/ocamlc -warn-help | sed -e 's/^ *\([0-9A-Z][0-9]*\)\(.*\)/\\item[\1] \2/' > warnings.tex