[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[freehaven-cvs] makefile (to make me happy)



Update of /home/freehaven/cvsroot/doc/routing-zones
In directory moria.mit.edu:/tmp/cvs-serv19218

Added Files:
	Makefile policy_summary.tex 
Log Message:
makefile (to make me happy)
and a figure



--- NEW FILE: Makefile ---
REPORT=routing-zones
LATEX=latex
BIBTEX=bibtex
REF1=ref
REF2=rfc

TEX = $(wildcard *.tex)
SRCS = $(TEX)
REFS=routing-zones.bib

all: $(REPORT).dvi $(REPORT).ps 
#.tex.dvi:
#       $(LATEX) $*.tex

camera: $(REPORT).dvi
	rm -f $(CAMERA).*
	dvips -t letter -P cmz $(REPORT).dvi -o $(CAMERA).ps
	ps2pdf $(CAMERA).ps $(CAMERA).pdf
	cat *tex *.bbl > $(CAMERA).tex
	perl -pi -e 's/^%.*\n//' $(CAMERA).tex
	tar cvf - $(CAMERA).* | gzip -c > $(CAMERA).tar.gz


$(REPORT).dvi: $(SRCS) #$(REFS)
#	cd figures; ${MAKE}
	$(LATEX) $(REPORT)
	$(BIBTEX) $(REPORT)
	perl -pi -e "s/%\s+//" paper.bbl
	$(LATEX) $(REPORT)
	$(LATEX) $(REPORT)

$(REPORT).ps: $(REPORT).dvi 
	dvips -t letter $(REPORT).dvi -o $(REPORT).ps

view: $(REPORT).dvi
	xdvi $(REPORT).dvi

print: $(REPORT).dvi
	dvips $(REPORT).dvi

pdf: $(REPORT).ps
	ps2pdf $< $(REPORT).pdf

printer: $(REPORT).ps
	lpr $(REPORT).ps

tidy:
	rm -f *.dvi *.aux *.log *.blg *.bbl

clean:
	rm -f *~ *.dvi *.aux *.log *.blg *.bbl $(REPORT).ps


--- NEW FILE: policy_summary.tex ---
\centering
\begin{pspicture}(8,3)
%    \showgrid
    \psset{nodesep=2pt, arrows=<->}

    \cnodeput(4,2.5){PR}{Prov.}
    \cnodeput(4,1.25){AS}{AS}
    \cnodeput(1.5,1.25){PE1}{Peer 1}
    \cnodeput(6.5,1.25){PE2}{Peer 2}
    \cnodeput(4,0){C1}{Cust.}

    \ncline{AS}{PR}
    \ncline{C1}{AS}
    \ncline{PE1}{AS}
    \ncline{PE2}{AS}


    \psset{nodesep=2pt, linestyle=dotted, arrows=<->}

\end{pspicture}

***********************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe freehaven-cvs       in the body. http://freehaven.net/