aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 319d021..58355ca 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,14 @@ pdf := $(name)/$(name).pdf
DO:
.PHONY: all
-all: $(pdf)
+all: build
+
+.PHONY: build
+build: $(pdf)
+
+.PHONY: build/docker
+build/docker:
+ docker-compose run --rm build
$(pdf): $(name).tex img/face2020_warm.jpg | $(name)/
pdflatex -interaction=nonstopmode -halt-on-error '-output-directory=$(call escape,$(name))/' '$(call escape,$<)'
@@ -38,6 +45,10 @@ $(pdf): $(name).tex img/face2020_warm.jpg | $(name)/
%/:
$(MKDIR) '$(call escape,$@)'
+.PHONY: view
+view:
+ xdg-open '$(call escape,$(pdf))' &> /dev/null
+
.PHONY: clean
clean:
find '$(call escape,$(name))' '!' -name cv.pdf -type f -delete