aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2019-07-20 15:53:03 +0200
committerDaniel Schadt <kingdread@gmx.de>2019-07-20 15:53:03 +0200
commitf62af149918575184987c2dfb41b1f07be6a06d9 (patch)
treeec5f141e4c4e64d6ed1c18b7b8d50a5a2d327bc6 /Makefile
parent149df1ce7c33a876c096a21c250407619b7402a2 (diff)
downloadopen-tt-guides-f62af149918575184987c2dfb41b1f07be6a06d9.tar.gz
open-tt-guides-f62af149918575184987c2dfb41b1f07be6a06d9.tar.bz2
open-tt-guides-f62af149918575184987c2dfb41b1f07be6a06d9.zip
generate minified PDFs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9ab0169..77af9f8 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,9 @@ pdf:
pdflatex -output-directory build $(NAME).tex
pdflatex -output-directory build $(NAME).tex
+minify:
+ ps2pdf -dPrinted=false build/$(NAME).pdf build/$(NAME).min.pdf
+
html:
mkdir -p html