aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-04-17 23:20:30 +0800
committerAaron LI <aly@aaronly.me>2018-04-17 23:20:30 +0800
commit3fc55d31398a12623459818f4d45ccd2ec82ca92 (patch)
tree813db28cd20db1519f0758e44bcdb153ffc61b0b /Makefile
parent1c91c64f24d1e17b864e3f0dbfd22c69b189ac54 (diff)
downloadresume-3fc55d31398a12623459818f4d45ccd2ec82ca92.tar.bz2
Update to use the new fontawesome5.sty
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index dbb5825..aec18b4 100644
--- a/Makefile
+++ b/Makefile
@@ -5,20 +5,23 @@
# 2018-04-12
#
-DEPS:= resume.cls fontawesome.sty
+DEPS:= resume.cls fontawesome5/fontawesome5.sty
SRCS:= resume-zh.tex resume-en.tex
PDFS:= $(SRCS:%.tex=%.pdf)
DATE= $(shell date +%Y%m%d)
DISTDIR= resume.$(DATE)
+# Environment variables
+TEXINPUTS:= .:fontawesome5:$(TEXINPUTS)
+
all: $(PDFS)
resume-zh.pdf: resume-zh.tex $(DEPS)
- latexmk -xelatex $<
+ env TEXINPUTS=$(TEXINPUTS) latexmk -xelatex $<
resume-en.pdf: resume-en.tex $(DEPS)
- latexmk -xelatex $<
+ env TEXINPUTS=$(TEXINPUTS) latexmk -xelatex $<
dist: all
mkdir $(DISTDIR)