Skip to content
Snippets Groups Projects
Commit 213d383f authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add makefile and requirements

parent e474f9da
No related branches found
No related tags found
No related merge requests found
hugo/
_build/
public/
*.docx
Deliverable_*
venv
Makefile 0 → 100644
DELIVERABLES_MD = $(shell find Deliverable_*-*.md)
DELIVERABLES_DOCX = $(subst .md,.docx,$(DELIVERABLES_MD))
venv: requirements.txt
test -d venv || python3 -m venv venv
pip install -Ur requirements.txt
html: venv
@ ( \
. venv/bin/activate; \
python make_documents.py; \
mv statuspage.md pages/statuspage.md
sh create_rst.sh
mkdir -p public
sphinx-build . public
)
$(DELIVERABLES_DOCX): $(DELIVERABLES_MD)
@pandoc -s $< -o $@
deliverables: $(DELIVERABLES_DOCX)
clean:
rm -rf venv public
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment