Modified Makefile

This commit is contained in:
Denis Merigoux 2020-05-13 13:52:20 +02:00
parent f31c07f991
commit 6eb681c5f1
3 changed files with 5 additions and 9 deletions

View File

@ -84,6 +84,10 @@ catala.html: src/catala/cli.ml
legifrance_catala.html: src/legifrance_catala/main.ml
dune exec src/legifrance_catala.exe -- --help=groff | man2html | sed -e '1,8d' > $@
website-assets: build pygments grammar.html catala.html legifrance_catala.html
$(MAKE) -C examples/allocations_familiales allocations_familiales.html
$(MAKE) -C examples/dummy_english english.html
clean:
dune clean
$(MAKE) -C $(ALLOCATIONS_FAMILIALES_DIR) clean

View File

@ -155,8 +155,6 @@ augmented with the Catala plugin, you need to enter from the root of the reposit
make pygments
This will execute the
script `syntax_highlighting/fr/pygments/set_up_pygments.sh` and `syntax_highlighting/en/pygments/set_up_pygments.sh`.

View File

@ -7,13 +7,7 @@ if [[ $1 == "" ]]; then
exit 1
fi
dest_dir=$1
make -C examples/allocations_familiales allocations_familiales.html
make -C examples/dummy_english english.html
make grammar.html
make catala.html
make legifrance_catala.html
make website-assets
scp examples/allocations_familiales/allocations_familiales.html $1/
scp examples/dummy_english/english.html $1/