ADD: provide target to build tex based pdf images
This commit is contained in:
parent
837b70cca8
commit
36a5c4706f
6
Makefile
6
Makefile
@ -41,6 +41,12 @@ endif
|
|||||||
.SECONDARY: .latexmkrc
|
.SECONDARY: .latexmkrc
|
||||||
.PHONY: clean watermark IEEE base
|
.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
|
%.pdf : %.dot
|
||||||
@echo "**** Generating $@ from dot file $< ****"
|
@echo "**** Generating $@ from dot file $< ****"
|
||||||
@dot -Tpdf $< -o $@
|
@dot -Tpdf $< -o $@
|
||||||
|
Loading…
Reference in New Issue
Block a user