From f62623512bfaefc39e0c81fd8cc9162b0a82d166 Mon Sep 17 00:00:00 2001 From: Michael Bredel Date: Sun, 12 Nov 2017 00:37:52 +0100 Subject: [PATCH] Added a "publish" target. The "publish" target creates a PDF file which has the fonts embedded. --- makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/makefile b/makefile index 013c04e..7383aaa 100644 --- a/makefile +++ b/makefile @@ -8,6 +8,10 @@ all: clean test -f ${MASTER}-blx.bib && ( bibtex ${MASTER}; pdflatex ${MASTER}.tex ) pdflatex ${MASTER}.tex +publish: all + @ps2pdf14 -dPDFSETTINGS=/prepress thesis.pdf + @mv thesis.pdf.pdf thesis.pdf + clean: @rm -rf *run.xml *-blx.bib *.aux *.bbl *.blg *.brf *.log *.lof *.lot *.lol *.out *.tcp *.toc *.tps *.bak *.backup *.pdfsync *.synctex.gz *.*~ @for i in run.xml -blx.bib aux bbl blg brf log lof lot lol out tcp toc tps bak backup pdfsync synctex.gz; do find -name *.$$i -exec rm {} + ; done