summaryrefslogtreecommitdiff
path: root/2004/netfilter-failover-ols2004/OLS2004-proceedings/Makefile
blob: 66dfd97017dc310ee75020e096dc5f94e8776166 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

.SUFFIXES: .dvi .tex .ps .eps .tif .pdf .fig .bbl .bib .gif

MASTER=MasterOLS
TMASTER=MasterOLS-2side
TESTER=QuickMaster
SUBDIRS=welte


all : eachdir ps pdf

eachdir : 
	for i in $(SUBDIRS) ; do $(MAKE) -C $$i ; done

clean : topclean
	for i in $(SUBDIRS) ; do $(MAKE) -C $$i clean ; done

topclean :
	rm -f *.aux *.log $(MASTER)-bak.pdf $(MASTER).dvi $(MASTER).ps
	rm -f *.bbl $(MASTER).bbl $(MASTER).blg
	if [ -f $(MASTER).pdf ] ; then mv $(MASTER).pdf $(MASTER)-bak.pdf ; fi


ps : $(MASTER).dvi
	dvips -o $(MASTER).ps $(MASTER)

# there seems to be a problem with extra brackets in some
# figure refs that occasionally crops up on the first run...
# thus the nonstop mode...

$(MASTER).dvi:
	latex -interaction=nonstopmode $(MASTER) || true
	bibtex $(MASTER) || true
	latex $(MASTER) || true
	latex $(MASTER)

twoside:
	latex -interaction=nonstopmode $(TMASTER) || true
	bibtex $(TMASTER) || true
	latex -interaction=nonstopmode $(TMASTER) || true
	latex $(TMASTER)

twosidepdf:
	pdflatex -interaction=nonstopmode $(TMASTER) || true
	bibtex $(TMASTER) || true
	pdflatex $(TMASTER) || true
	pdflatex $(TMASTER)

pdf:
	pdflatex -interaction=nonstopmode $(MASTER) || true
	bibtex $(MASTER) || true
	pdflatex $(MASTER) || true
	pdflatex $(MASTER)

test:
	pdflatex -interaction=nonstopmode $(TESTER) || true
	bibtex $(TESTER) || true
	pdflatex $(TESTER) || true
	pdflatex $(TESTER)


personal git repositories of Harald Welte. Your mileage may vary