summaryrefslogtreecommitdiffstats
path: root/doc/makefile
blob: 50cc4fc80de5acfd211ec43b58616cad3753ea70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BUILD_DIR := build
TEX := xelatex \
		-interaction=nonstopmode \
		-halt-on-error \
		-output-directory=$(BUILD_DIR)

.PHONY: dir doc diario
all: doc diario
	cp $(BUILD_DIR)/diario.pdf .
	cp $(BUILD_DIR)/xilofono.pdf .

doc: dir
	$(TEX) xilofono.tex

diario: dir
	$(TEX) diario.tex

dir:
	mkdir -p build