add IN_DOCKER target

This commit is contained in:
Motiejus Jakštys 2019-09-23 10:48:55 +03:00
parent e97fd215e5
commit e1f6e29dc5

View File

@ -1,2 +1,6 @@
ifdef IN_DOCKER
toolshed = docker run --rm -v $(PWD):/x -w /x motiejus/toolshed
endif
report.pdf: report.tex report.pdf: report.tex
latexmk $< $(toolshed) latexmk $<