1
0
curso-tikz-a1/Makefile

14 lines
220 B
Makefile

build/%.pdf: src/%.tex
mkdir -p $(shell dirname $@)
rm -rf .tmp
mkdir .tmp
cp $< .tmp/input.tex
cd .tmp ; pdflatex input.tex
cp .tmp/input.pdf $@
serve:
mkdir -p build
python -m http.server --directory build/