Files
openflow/doc/of-spec/Makefile
T
Justin Pettit edf6b85346 Initial checkin of OpenFlow specification LaTeX source.
This version of the specification does not reflect the current checked in
version of OpenFlow.  Checkins that follow should bring them in-line.  The
TeX version of the spec was produced by Brandon Heller.
2008-09-23 15:35:00 -07:00

41 lines
687 B
Makefile

TARGET=openflow-spec-v0.9-draft3
BIBTEX := bibtex
TGIF := tgif
XFIG := xfig
GNUPLOT:= gnuplot
SOURCES=openflow-spec-v0.9-draft3.tex\
appendix.tex
all: $(TARGET).ps
pdf: all
$(TARGET).pdf: Makefile $(SOURCES)
./make_latex_input.pl
texi2pdf $(TARGET).tex
color: $(TARGET).pdf
pdflatex $(TARGET).tex
pdftops $(TARGET).pdf
$(TARGET).ps: $(TARGET).pdf
pdftops $(TARGET).pdf
%.pdf : %.fig #Makefile
fig2dev -L pdf -b 1 $< $@
%.eps : %.dia #Makefile
dia --nosplash -e $@ $<
%.eps : %.obj
TMPDIR=/tmp $(TGIF) -print -eps $<
%.pdf : %.eps #Makefile
epstopdf $<
clean:
rm -f *.aux *.log *.out *.bbl *.blg *~ *.bak $(TARGET).ps $(TARGET).pdf
rm -rf define enum struct