summaryrefslogtreecommitdiff
path: root/Makefile
blob: a11be8cd2b40041d775385d42aa2f68568f6d2bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
all: log.pdf

watch:
ifdef TARGET
	while true; do \
		$(MAKE) $(TARGET); \
		inotifywait -qre close_write .; \
	done
else
	while true; do \
		$(MAKE) all; \
		inotifywait -qre close_write .; \
	done
endif

log.pdf: log.md bibliography.bib
	pandoc \
		--standalone \
		--from markdown \
		--to pdf \
		--pdf-engine pdflatex \
		--citeproc \
		--output log.pdf \
		log.md

clean:
	rm log.pdf