Parse the new output of warn-help.
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@12045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
786640595d
commit
dbc443b00a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue