From 7549fabc4b01d193933577eac99064954669f821 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 3 Feb 2023 18:12:02 +0800 Subject: 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. --- Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.2