CCSciPyMD/{{cookiecutter.repo_name}}/makefile

18 lines
342 B
Makefile

# This is a generated makefile
.PHONY: all mkdocs clean
all: src/*.py
for py_file in $?; do \
pipenv run python $$py_file -o out; \
done
mkdocs: mkdocs/*.md mkdocs.yml
pipenv run mkdocs serve
docs: docs/index.md data/**/*
pandoc docs/index.md -o docs/index.pdf --template docs/eisvogel.latex --listings
clean:
rm -rf out/* out/.*