Makefile: add LdapSaisie.pdf stage

This commit is contained in:
Benjamin Renard 2023-08-18 18:46:46 +02:00
parent b5ff21adee
commit c9114823ee
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -9,6 +9,9 @@ public_html: venv
LdapSaisie.html: venv public_html LdapSaisie.html: venv public_html
venv/bin/htmlark public_html/print_page/index.html -o LdapSaisie.html venv/bin/htmlark public_html/print_page/index.html -o LdapSaisie.html
LdapSaisie.pdf: venv LdapSaisie.html
docker run -v $(CURDIR):/workspace pink33n/html-to-pdf --url file:///workspace/LdapSaisie.html --pdf LdapSaisie.pdf
venv: venv:
python3 -m venv venv python3 -m venv venv
venv/bin/python -m pip install -r requirements.txt venv/bin/python -m pip install -r requirements.txt