Commit 80f135d8 authored by Florian Walch's avatar Florian Walch
Browse files

Makefile: Don't remove PDF on `make clean`.

Add `purge` target to remove all output.
parent c79bac28
FILE := main FILE := main
OUT := build OUT := build
latexmk: pdf:
# Also see .latexmkrc # Also see .latexmkrc
latexmk -outdir=$(OUT) -pdf $(FILE) latexmk -outdir=$(OUT) -pdf $(FILE)
clean: clean:
rm -rf $(filter-out $(OUT)/$(FILE).pdf, $(wildcard $(OUT)/*))
rm -rf $(OUT) rm -rf $(OUT)
.PHONY: latexmk clean .PHONY: latexmk clean purge
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment