blob: ea5d69e2485d419bdf30186035bf233d1615410d (
plain) (
tree)
|
|
MAKEFLAGS += --no-builtin-rules --no-builtin-variables --warn-undefined-variables
.DEFAULT_GOAL := all
.DELETE_ON_ERROR:
.SUFFIXES:
SHELL := bash
.SHELLFLAGS := -eu -o pipefail -c
MKDIR := mkdir -p --
RMDIR := $(RM) -r --
name := cv
pdf := $(name)/$(name).pdf
.PHONY: DO
DO:
.PHONY: all
all: $(pdf)
$(pdf): $(name).tex img/selfie_face.jpg | $(name)/
pdflatex -interaction=nonstopmode -halt-on-error -output-directory=$(name)/ $<
%/:
$(MKDIR) $@
.PHONY: clean
clean:
.PHONY: clean-all
clean-all: clean
$(RMDIR) $(name)/
|