aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2023-02-03 18:12:02 +0800
committerAaron LI <aly@aaronly.me>2023-02-03 18:14:16 +0800
commit7549fabc4b01d193933577eac99064954669f821 (patch)
treeb3e39d272a3d8cecfd5bd440a0557664ceabc1dd /Makefile
parent40e23ef549bf83c38a297d29ccddc11a31d46334 (diff)
downloadresume-7549fabc4b01d193933577eac99064954669f821.tar.bz2
class: Update to use 'fontawesome5' package from CTAN
The CTAN fontawesome5 package (https://www.ctan.org/pkg/fontawesome5) is better maintained and has more advanced features. Update to use it instead of the custom one.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index eb8c192..f1b3a02 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,6 @@ PDFCAT:= resume-zh+en.pdf
DATE= $(shell date +%Y%m%d)
DISTDIR= resume.$(DATE)
-# Environment variables
-TEXINPUTS:= .:fontawesome5:$(TEXINPUTS)
-
all: $(PDFCAT)
en: resume-en.pdf
zh: resume-zh.pdf
@@ -19,11 +16,8 @@ $(PDFCAT): $(PDFS)
-sOutputFile=$@ \
$(PDFS)
-resume-zh.pdf: resume-zh.tex $(DEPS)
- env TEXINPUTS=$(TEXINPUTS) latexmk -xelatex $<
-
-resume-en.pdf: resume-en.tex $(DEPS)
- env TEXINPUTS=$(TEXINPUTS) latexmk -xelatex $<
+%.pdf: %.tex $(DEPS)
+ latexmk -xelatex $<
dist: all
mkdir $(DISTDIR)