2023-08-18 13:05:04 +02:00
|
|
|
serve: venv
|
|
|
|
venv/bin/mkdocs serve
|
|
|
|
|
|
|
|
build: venv public_html LdapSaisie.html
|
|
|
|
|
2023-08-18 18:46:31 +02:00
|
|
|
public_html: venv
|
2023-08-18 13:05:04 +02:00
|
|
|
venv/bin/mkdocs build -s
|
|
|
|
|
2023-08-18 18:46:31 +02:00
|
|
|
LdapSaisie.html: venv public_html
|
2023-08-18 13:05:04 +02:00
|
|
|
venv/bin/htmlark public_html/print_page/index.html -o LdapSaisie.html
|
|
|
|
|
2023-08-18 18:46:46 +02:00
|
|
|
LdapSaisie.pdf: venv LdapSaisie.html
|
|
|
|
docker run -v $(CURDIR):/workspace pink33n/html-to-pdf --url file:///workspace/LdapSaisie.html --pdf LdapSaisie.pdf
|
|
|
|
|
2023-08-18 13:05:04 +02:00
|
|
|
venv:
|
|
|
|
python3 -m venv venv
|
|
|
|
venv/bin/python -m pip install -r requirements.txt
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -fr venv public_html LdapSaisie.html
|