Better man page generation

This commit is contained in:
Denis Merigoux 2020-05-12 12:07:44 +02:00
parent d243c562a4
commit d89c4f1bfb

View File

@ -79,10 +79,10 @@ grammar.html: src/catala/parsing/parser.mly
obelisk html -o $@ $<
catala.html: src/catala/cli.ml
dune exec src/catala.exe -- --help=groff | groff -T html > $@
dune exec src/catala.exe -- --help=groff | man2html | sed -e '1,8d' > $@
legifrance_catala.html: src/legifrance_catala/main.ml
dune exec src/legifrance_catala.exe -- --help=groff | groff -T html > $@
dune exec src/legifrance_catala.exe -- --help=groff | man2html | sed -e '1,8d' > $@
clean:
dune clean