summaryrefslogtreecommitdiffstats
path: root/doc/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/makefile')
-rw-r--r--doc/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/makefile b/doc/makefile
index 6baefea..207672a 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -14,7 +14,7 @@ TEX := lualatex
BIB := biber
# recipes
-.PHONY: all build clean
+.PHONY: all build dir clean
all: build
build: $(PDFS)
@@ -27,5 +27,8 @@ build: $(PDFS)
$(PDFS): res/%.pdf: res/%.svg $(SVGS)
inkscape -z -D --file=$< --export-pdf=$@
+dir:
+ mkdir -p $(BUILD_DIR)
+
clean:
rm $(BUILD_DIR)/*