diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |