head	1.6;
access;
symbols
	charm6_1:1.6
	charm_6_0_1:1.6
	charm6_0_1:1.6
	charm6_0:1.6
	ChaNGa_1-0:1.6
	charm5_9:1.6;
locks; strict;
comment	@# @;


1.6
date	2003.12.10.17.50.44;	author olawlor;	state Exp;
branches;
next	1.5;

1.5
date	2002.10.23.20.40.26;	author wilmarth;	state Exp;
branches;
next	1.4;

1.4
date	2002.04.09.21.50.42;	author olawlor;	state Exp;
branches;
next	1.3;

1.3
date	2001.10.10.20.40.32;	author olawlor;	state Exp;
branches;
next	1.2;

1.2
date	2001.10.09.04.20.21;	author wilmarth;	state Exp;
branches;
next	1.1;

1.1
date	2001.10.05.22.26.17;	author pnarula;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Use Makefile.common
@
text
@# Stub makefile for LaTeX PPL manual
FILE=manual
TEX=$(FILE).tex
DEST=mblock
LATEX2HTML=$(L2H) -split 4
PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/mblock">MBlock Homepage</a><br>'

include ../Makefile.common
@


1.5
log
@Fixed all Makefiles to point to the correct web dir path.
@
text
@d1 6
a6 2
DOCDIR=..
WEBDIR=/expand8/www/ppl_manuals
d8 1
a8 46
all: ps pdf html

ps:
	touch index.tex
	latex manual.tex
	latex manual.tex
	if [ -f manual.idx ] ; then makeindex -o index.tex manual.idx ; fi
	latex manual.tex
	dvips -o manual.ps manual.dvi

html:
	touch index.tex
	-@@ln -s ../pplmanual.* .
	latex manual.tex
	latex2html -local_icons manual.tex

pdf:
	touch index.tex
	pdflatex manual.tex
	if [ -f manual.idx ] ; then makeindex -o index.tex manual.idx ; fi
	pdflatex manual.tex

doc:
	make all
	if [ ! -d $(DOCDIR) ] ; then mkdir $(DOCDIR) ; fi
	if [ ! -d $(DOCDIR)/ps ] ; then mkdir $(DOCDIR)/ps ; fi
	if [ ! -d $(DOCDIR)/pdf ] ; then mkdir $(DOCDIR)/pdf ; fi
	if [ ! -d $(DOCDIR)/html ] ; then mkdir $(DOCDIR)/html ; fi
	/bin/cp manual.ps $(DOCDIR)/ps/mblock.ps
	/bin/cp manual.pdf $(DOCDIR)/pdf/mblock.pdf
	/bin/rm -rf $(DOCDIR)/html/mblock
	/bin/cp -R manual $(DOCDIR)/html/mblock

web:
	make all
	/bin/cp manual.ps $(WEBDIR)/ps/mblock.ps
	/bin/cp manual.pdf $(WEBDIR)/pdf/mblock.pdf
	/bin/rm -rf $(WEBDIR)/html/mblock
	/bin/cp -R manual $(WEBDIR)/html/mblock
	find $(WEBDIR) -type f -exec chmod 664 {} \;
	find $(WEBDIR) -type d -exec chmod 775 {} \;

clean:
	/bin/rm -f *.ps *.pdf *.ilg *.aux *.log *.dvi *.idx *.toc 
	/bin/rm -f index.tex *.blg *.bbl
	/bin/rm -rf manual
@


1.4
log
@Use more sensible relative path to get to doc/ directory.
@
text
@d2 1
a2 1
WEBDIR=/expand6/groupMosaic/ppl_manuals
@


1.3
log
@Added soft link of ../pplmanual.tex to current directory, which
enables latex2html to find our images (!).
@
text
@d1 1
a1 1
DOCDIR=../../../doc
@


1.2
log
@*** empty log message ***
@
text
@d16 1
@


1.1
log
@First version of the multiblock manual
@
text
@d31 4
a34 4
	/bin/cp manual.ps $(DOCDIR)/ps/fem.ps
	/bin/cp manual.pdf $(DOCDIR)/pdf/fem.pdf
	/bin/rm -rf $(DOCDIR)/html/fem
	/bin/cp -R manual $(DOCDIR)/html/fem
d38 4
a41 4
	/bin/cp manual.ps $(WEBDIR)/ps/fem.ps
	/bin/cp manual.pdf $(WEBDIR)/pdf/fem.pdf
	/bin/rm -rf $(WEBDIR)/html/fem
	/bin/cp -R manual $(WEBDIR)/html/fem
@

