X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=report%2FMakefile;h=a4ec3a005f0651e74b71991c6163d75e38206910;hb=5675de2255bdfceb293ed7418a0478bc0af7cd75;hp=118b3ddefe9a9a742ec144f0727bc592382d0cd7;hpb=df7e2e55032a0398edc1041e0f85328858b7fcd1;p=ssproject1617.git diff --git a/report/Makefile b/report/Makefile index 118b3dd..a4ec3a0 100644 --- a/report/Makefile +++ b/report/Makefile @@ -6,11 +6,11 @@ LATEXFLAGS:=-file-line-error -halt-on-error -no-shell-escape TEXS:=$(wildcard *.tex) .PHONY: all -.SECONDARY: $(DOC).fmt +.SECONDARY: $(DOC).fmt logo.png all: $(DOC).pdf -%.fmt: preamble.tex +%.fmt: preamble.tex logo.png $(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump" %.pdf: %.tex %.fmt $(TEXS) @@ -20,6 +20,9 @@ all: $(DOC).pdf grep -qF 'Please rerun LaTeX.' $(basename $<).mlog &&\ $(LATEX) $(LATEXFLAGS) $< || true +%.png: %.eps + convert -density 300 $< -resize x1000 $@ + clean: - $(RM) $(addprefix $(DOC).,aux log fmt toc bbl blg mlog run.xml pdf)\ - $(DOC)-blx.bib + $(RM) $(addprefix $(DOC).,aux log fmt toc bbl blg mlog run.xml pdf out)\ + $(DOC)-blx.bib logo.png