ADD: provide target to build tex based pdf images

This commit is contained in:
Dominik Meyer 2022-02-15 16:37:59 +01:00
parent 837b70cca8
commit 36a5c4706f
No known key found for this signature in database
GPG Key ID: B4C312B600606B64

View File

@ -41,6 +41,12 @@ endif
.SECONDARY: .latexmkrc
.PHONY: clean watermark IEEE base
%.pdf: %.image.tex
@echo "**** Generating $@ from tex file $< ****"
@lualatex -output-directory=`dirname $<` $< >/dev/null
IN=`echo $< | sed 's/\.tex/\.pdf/'`;OUT=`echo $< | sed 's/\.image\.tex/\.pdf/'`; cp $$IN $$OUT
@touch $@.dep
%.pdf : %.dot
@echo "**** Generating $@ from dot file $< ****"
@dot -Tpdf $< -o $@