summaryrefslogtreecommitdiff
path: root/2005/flow-accounting-ols2005/OLS2005/TEMPLATES/ProtoMake
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-10-25 21:00:20 +0100
committerHarald Welte <laforge@gnumonks.org>2015-10-25 21:00:20 +0100
commitfca59bea770346cf1c1f9b0e00cb48a61b44a8f3 (patch)
treea2011270df48d3501892ac1a56015c8be57e8a7d /2005/flow-accounting-ols2005/OLS2005/TEMPLATES/ProtoMake
import of old now defunct presentation slides svn repo
Diffstat (limited to '2005/flow-accounting-ols2005/OLS2005/TEMPLATES/ProtoMake')
-rw-r--r--2005/flow-accounting-ols2005/OLS2005/TEMPLATES/ProtoMake47
1 files changed, 47 insertions, 0 deletions
diff --git a/2005/flow-accounting-ols2005/OLS2005/TEMPLATES/ProtoMake b/2005/flow-accounting-ols2005/OLS2005/TEMPLATES/ProtoMake
new file mode 100644
index 0000000..4fdae2e
--- /dev/null
+++ b/2005/flow-accounting-ols2005/OLS2005/TEMPLATES/ProtoMake
@@ -0,0 +1,47 @@
+###
+### This is from the 2004 OLS and GCC Templates and is no longer
+### necessary for building the 2005 Proceedings.
+### It is included (with minor changes) in case anyone finds it useful...
+###
+
+.SUFFIXES: .tex .dvi .aux .eps .fig .dia .ps .pdf .bib .bbl
+
+# TOP should be set to the presenter's last name (should match directory name)
+TOP=
+TEXFILES=$(TOP).tex
+FIGFILES:=$(wildcard *.fig)
+EPSFILES:=$(wildcard *.eps)
+EPSFILES+=$(FIGFILES:.fig=.eps)
+PDFFILES=$(EPSFILES:.eps=.pdf)
+
+.fig.eps:
+ fig2dev -L eps $< >$@
+
+.fig.pdf:
+ fig2dev -L pdf $< >$@
+
+.eps.pdf:
+ epstopdf $<
+
+all: $(TOP).ps $(TOP).pdf
+
+$(TOP).ps: $(TOP).dvi
+ dvips -o $(TOP).ps $(TOP)
+
+$(TOP).dvi: $(TEXFILES) $(EPSFILES)
+ TEXINPUTS=../Texmf:$$TEXINPUTS latex $(TOP) || true
+ TEXINPUTS=../Texmf:$$TEXINPUTS bibtex $(TOP) || true
+ TEXINPUTS=../Texmf:$$TEXINPUTS latex $(TOP) || true
+ TEXINPUTS=../Texmf:$$TEXINPUTS latex $(TOP)
+
+$(TOP).pdf: $(TEXFILES) $(PDFFILES)
+ TEXINPUTS=../Texmf:$$TEXINPUTS pdflatex $(TOP) || true
+ TEXINPUTS=../Texmf:$$TEXINPUTS bibtex $(TOP) || true
+ TEXINPUTS=../Texmf:$$TEXINPUTS pdflatex $(TOP) || true
+ TEXINPUTS=../Texmf:$$TEXINPUTS pdflatex $(TOP)
+
+clean:
+ rm -f *.aux *.dvi *.log
+ rm -f $(TOP).ps $(TOP).pdf $(TOP).bbl $(TOP).blg
+
+
personal git repositories of Harald Welte. Your mileage may vary