Revert "remove plantuml support from the makefile"
This reverts commit 0b26099773
.
This commit is contained in:
parent
0b26099773
commit
25790f36a0
7
Makefile
7
Makefile
|
@ -1,5 +1,5 @@
|
|||
ALL=$(wildcard *.sty *.tex *.org pictures/*.svg pictures/*.eps pictures/*.dot \
|
||||
pictures/*.tex)
|
||||
pictures/*.tex pictures/*.puml)
|
||||
PAPER=Marketing_Ivan_Hoerler_Andreas_Zweili
|
||||
SHELL=/bin/bash
|
||||
PROJECT_ROOT=$(shell pwd)
|
||||
|
@ -8,11 +8,13 @@ FIGURES_SVG=$(wildcard $(PROJECT_ROOT)/pictures/*.svg)
|
|||
FIGURES_EPS=$(wildcard $(PROJECT_ROOT)/pictures/*.eps)
|
||||
FIGURES_DOT=$(wildcard $(PROJECT_ROOT)/pictures/*.dot)
|
||||
FIGURES_TEX=$(wildcard $(PROJECT_ROOT)/pictures/*.tex)
|
||||
FIGURES_PUML=$(wildcard $(PROJECT_ROOT)/pictures/*.puml)
|
||||
BIBLIOGRAPHY=$(wildcard *.bib)
|
||||
SVG_PDF=$(FIGURES_SVG:.svg=.pdf)
|
||||
EPS_PDF=$(FIGURES_EPS:.eps=.pdf)
|
||||
DOT_PDF=$(FIGURES_DOT:.dot=.pdf)
|
||||
TEX_PDF=$(FIGURES_TEX:.tex=.pdf)
|
||||
PUML_PDF=$(FIGURES_PUML:.puml=.svg)
|
||||
|
||||
.PHONY: $(PAPER).pdf all clean
|
||||
|
||||
|
@ -59,3 +61,6 @@ $(PROJECT_ROOT)/pictures/%.pdf: pictures/%.dot ## Figures for the manuscript
|
|||
$(PROJECT_ROOT)/pictures/%.pdf: pictures/%.tex ## Figures for the manuscript
|
||||
latexmk -quiet -pdf -outdir=$(PROJECT_ROOT)/pictures \
|
||||
-pdflatex="pdflatex -interaction=nonstopmode" -use-make $<
|
||||
|
||||
$(PROJECT_ROOT)/pictures/%.svg: pictures/%.puml
|
||||
java -jar ~/bin/plantuml.jar -tsvg $(PROJECT_ROOT)/$<
|
||||
|
|
Loading…
Reference in New Issue