You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
553 B
Makefile

SHELL := bash
.SHELLFLAGS := -eu -o pipefail -c
.ONESHELL:
.DELETE_ON_ERROR:
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
LATEX_CMD = lualatex --halt-on-error --synctex=1 --output-directory=out
.PHONY: clean clean_fonts
fonts/sentinel:
mkdir -p fonts
fc-list | grep -E 'Lato-|DejaVu' | grep -v -- "-minimal" | cut -d : -f 1 | xargs -I{} bash -c 'ln -s {} fonts/$$(basename {})'
touch fonts/sentinel
base.pdf: base.tex cv_base.cls fonts/sentinel
${LATEX_CMD} base.tex
clean:
rm -rf out
clean_fonts:
rm -rf fonts/