diff options
author | Aaron LI <aly@aaronly.me> | 2018-10-15 12:55:35 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-10-15 12:55:35 +0800 |
commit | 4470935f0bfe9bd08e39b76f9b7faf9d595a9e65 (patch) | |
tree | 080a054e64322e2106b05062ac986394e2c345bf /Makefile | |
parent | d0d783a8ec975e2f0f787937dd3f1c5a9157c2cf (diff) | |
download | resume-4470935f0bfe9bd08e39b76f9b7faf9d595a9e65.tar.bz2 |
Makefile: Update to concatenate zh and en resumes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
@@ -1,13 +1,7 @@ -# -# Makefile for alyresume -# -# Weitian LI -# 2018-04-12 -# - DEPS:= resume.cls fontawesome5/fontawesome5.sty SRCS:= resume-zh.tex resume-en.tex PDFS:= $(SRCS:%.tex=%.pdf) +PDFCAT:= resume-zh+en.pdf DATE= $(shell date +%Y%m%d) DISTDIR= resume.$(DATE) @@ -15,7 +9,10 @@ DISTDIR= resume.$(DATE) # Environment variables TEXINPUTS:= .:fontawesome5:$(TEXINPUTS) -all: $(PDFS) +all: $(PDFCAT) + +$(PDFCAT): $(PDFS) + pdfjoin -o $@ $(PDFS) resume-zh.pdf: resume-zh.tex $(DEPS) env TEXINPUTS=$(TEXINPUTS) latexmk -xelatex $< @@ -40,7 +37,7 @@ cleanall: latexmk -C $$f; \ done -.PHONY: dist clean cleanall +.PHONY: all dist clean cleanall # One liner to get the value of any makefile variable |