aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3a180bb..eb8c192 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,10 @@ en: resume-en.pdf
zh: resume-zh.pdf
$(PDFCAT): $(PDFS)
- pdftk $(PDFS) cat output $@
+ gs -dBATCH -dNOPAUSE -dPrinted=false \
+ -sDEVICE=pdfwrite \
+ -sOutputFile=$@ \
+ $(PDFS)
resume-zh.pdf: resume-zh.tex $(DEPS)
env TEXINPUTS=$(TEXINPUTS) latexmk -xelatex $<