blob: ea5d69e2485d419bdf30186035bf233d1615410d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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)/
|