reset before compiling

This commit is contained in:
Pierre-antoine Comby 2019-06-15 11:17:53 +02:00
parent c6dcb0cdc9
commit ea3d651470

View file

@ -14,7 +14,9 @@ PDF_FILES = $(TEX_FILES:tex=pdf)
OUTPUT_FILES = $(subst /,-,$(dir $(PDF_FILES))) OUTPUT_FILES = $(subst /,-,$(dir $(PDF_FILES)))
all: $(PDF_FILES) all: reset $(PDF_FILES)
reset:
@rm -rf ./public @rm -rf ./public
@mkdir public @mkdir public