update the makefile
This commit is contained in:
parent
cca9a82cb4
commit
b15b5e674e
12
Makefile
12
Makefile
|
@ -1,6 +1,6 @@
|
|||
ALL=$(wildcard *.sty *.tex *.org pictures/*.svg pictures/*.eps pictures/*.dot \
|
||||
pictures/*.tex pictures/*.puml)
|
||||
PAPER=Marketing_Ivan_Hoerler_Andreas_Zweili.tex
|
||||
PAPER=Marketing_Ivan_Hoerler_Andreas_Zweili
|
||||
SHELL=/bin/bash
|
||||
|
||||
FIGURES_SVG=$(wildcard pictures/*.svg)
|
||||
|
@ -15,15 +15,17 @@ DOT_PDF=$(FIGURES_DOT:.dot=.pdf)
|
|||
TEX_PDF=$(FIGURES_TEX:.tex=.pdf)
|
||||
PUML_PDF=$(FIGURES_PUML:.puml=.svg)
|
||||
|
||||
.PHONY: $(PAPER).pdf all clean
|
||||
|
||||
all: Marketing_Ivan_Hoerler_Andreas_Zweili.pdf ## Build full thesis (LaTeX + figures)
|
||||
|
||||
Marketing_Ivan_Hoerler_Andreas_Zweili.pdf: $(SVG_PDF) $(EPS_PDF) $(DOT_PDF) $(TEX_PDF) \
|
||||
$(PAPER).pdf: $(SVG_PDF) $(EPS_PDF) $(DOT_PDF) $(TEX_PDF) \
|
||||
$(PUML_PDF) $(BIBLIOGRAPHY)
|
||||
latexmk -quiet -pdf -pdflatex="pdflatex -interaction=nonstopmode" \
|
||||
-use-make $(PAPER)
|
||||
-use-make $(PAPER).tex
|
||||
|
||||
clean: ## Clean LaTeX and output figure files
|
||||
latexmk -c $(PAPER)
|
||||
latexmk -c $(PAPER).tex
|
||||
rm -f $(SVG_PDF)
|
||||
rm -f $(EPS_PDF)
|
||||
rm -f $(DOT_PDF)
|
||||
|
@ -44,7 +46,7 @@ clean: ## Clean LaTeX and output figure files
|
|||
rm -f Marketing.tex
|
||||
|
||||
distclean: clean
|
||||
rm -f Marketing_Ivan_Hoerler_Andreas_Zweili.pdf
|
||||
rm -f $(PAPER).pdf
|
||||
|
||||
pictures/%.pdf: pictures/%.svg ## Figures for the manuscript
|
||||
inkscape -C -z --file=$< --export-pdf=$@
|
||||
|
|
Loading…
Reference in New Issue