diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/didactic/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/didactic/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/didactic/Makefile b/Master/texmf-dist/source/latex/didactic/Makefile new file mode 100644 index 00000000000..a317f1b7534 --- /dev/null +++ b/Master/texmf-dist/source/latex/didactic/Makefile @@ -0,0 +1,34 @@ +LATEX?=latex +PDFLATEX?=pdflatex +LATEXFLAGS=-shell-escape +PYTHONTEX=python3 $(shell which pythontex) --interpreter python:python3 + +.PHONY: all +all: didactic.sty didactic.pdf didactic.tar.gz + +SRC+= didactic.dtx hello.py idea.tex lightblock.tex ProvideSemanticEnv.tex + +didactic.pdf: ${SRC} didactic.sty + ${PDFLATEX} ${LATEXFLAGS} $< + ${PYTHONTEX} didactic + ${PDFLATEX} ${LATEXFLAGS} $< + ${PDFLATEX} ${LATEXFLAGS} $< + +didactic.sty: didactic.ins + ${LATEX} ${LATEXFLAGS} $< + +didactic.tar.gz: ${SRC} didactic.ins LICENSE Makefile README.md didactic.pdf + tar -czf $@ --transform "s|^|didactic/|" $^ + +.PHONY: clean +clean: + ${RM} didactic.sty didactic.pdf + ${RM} didactic.log + ${RM} didactic.aux didactic.glo didactic.idx didactic.log + ${RM} didactic.out didactic.pdf + ${RM} didactic.pytxcode didactic.pytxmcr didactic.pytxpyg + ${RM} didactic.tar.gz didactic.toc didactic.unq + ${RM} pythontex_data.pkl + ${RM} -R _minted-didactic + ${RM} $(wildcard py_default_default_*.stdout) + ${RM} -R pythontex-files-didactic |