Revert "remove plantuml support from the makefile"

This reverts commit 0b26099773.
This commit is contained in:
Andreas Zweili 2018-10-13 18:04:03 +02:00
parent 0b26099773
commit 25790f36a0
1 changed files with 6 additions and 1 deletions

View File

@ -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)/$<