Skip to content
Permalink
Browse files
Initial import
  • Loading branch information
digehode committed Aug 13, 2020
0 parents commit 9a0250b548633633e086d8d3a49ea9df4e242fd7
Show file tree
Hide file tree
Showing 5 changed files with 696 additions and 0 deletions.
@@ -0,0 +1,36 @@
INVENV = $(shell pip3 -V | grep 'venv')
current_dir = $(shell pwd)

chb.pdf: chb_pp.md headings.tex
pandoc chb_pp.md -s -o chb.pdf

chb.tex: chb_pp.md
pandoc chb_pp.md -s -o chb.tex


chb_pp.md: chb.yml chb.md
jinja2 chb.md chb.yml > chb_pp.md


clean:
-rm ./chb_pp.md chb.pdf


prereqs: venvcheck FORCE
pip install -r requirements.txt

venv: FORCE
python3 -m venv venv

venvcheck:
ifeq ($(INVENV),)
$(error You should only run this from within the venv. Use '. ./venv/bin/activate')
else
@echo "venv check passed\n"
endif





FORCE:

0 comments on commit 9a0250b

Please sign in to comment.