Add Makefile

This commit is contained in:
Benjamin Renard 2023-08-18 13:05:04 +02:00
parent e29852639d
commit 9f65ef67f7
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC
2 changed files with 18 additions and 0 deletions

1
doc/.gitignore vendored
View file

@ -1,2 +1,3 @@
public_html public_html
LdapSaisie.html LdapSaisie.html
venv

17
doc/Makefile Normal file
View file

@ -0,0 +1,17 @@
serve: venv
venv/bin/mkdocs serve
build: venv public_html LdapSaisie.html
public_html:
venv/bin/mkdocs build -s
LdapSaisie.html: public_html
venv/bin/htmlark public_html/print_page/index.html -o LdapSaisie.html
venv:
python3 -m venv venv
venv/bin/python -m pip install -r requirements.txt
clean:
rm -fr venv public_html LdapSaisie.html