summaryrefslogtreecommitdiffstats
path: root/presentation/Makefile
blob: 42915a213f9d7db9af3b93414ee5bd3ac9352601 (plain) (blame)
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
28
29
30
31
#!/usr/bin/make
#
# combox - presentation
#
# Makefile
#
# By Siddharth Ravikumar <sravik@bgsu.edu>
#
# No rights reserved. Dedicated to Public Domain.
# <https://creativecommons.org/publicdomain/zero/1.0/>

PDF = combox-p.pdf
P_TEX = p.tex
P_INCLUDES = sections/*.tex
DVI = p.dvi

all: $(PDF)
	@evince $(PDF) &

$(PDF): $(DVI)
	dvipdf $< $@

$(DVI): $(P_TEX) $(P_INCLUDES)
	@latex $<
	@latex $<
	@latex $<

clean:
	rm -f $(PDF) $(DVI) *.aux *.log *~

.PHONY: clean all