summaryrefslogtreecommitdiffstats
path: root/doc/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/makefile')
-rw-r--r--doc/makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/makefile b/doc/makefile
new file mode 100644
index 0000000..6679a0d
--- /dev/null
+++ b/doc/makefile
@@ -0,0 +1,17 @@
+BUILD_DIR := build
+TEX := xelatex \
+ -interaction=nonstopmode \
+ -halt-on-error \
+ -output-directory=$(BUILD_DIR)
+
+.PHONY: dir doc diario
+all: doc diario
+
+doc: dir
+ $(TEX) xilofono.tex
+
+diario: dir
+ $(TEX) diario.tex
+
+dir:
+ mkdir -p build