head	1.10;
access;
symbols
	charm6_1:1.10
	charm_6_0_1:1.10
	charm6_0_1:1.10
	charm6_0:1.10
	ChaNGa_1-0:1.10
	charm5_9:1.10
	charm_5-4-2:1.4
	charm_5-4-1:1.4;
locks; strict;
comment	@# @;


1.10
date	2003.06.13.21.13.29;	author gzheng;	state Exp;
branches;
next	1.9;

1.9
date	2002.12.11.17.53.16;	author olawlor;	state Exp;
branches;
next	1.8;

1.8
date	2002.10.23.20.39.27;	author wilmarth;	state Exp;
branches;
next	1.7;

1.7
date	2002.04.09.21.50.25;	author olawlor;	state Exp;
branches;
next	1.6;

1.6
date	2001.10.11.19.54.17;	author wilmarth;	state Exp;
branches;
next	1.5;

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

1.4
date	2001.03.02.20.22.17;	author milind;	state Exp;
branches;
next	1.3;

1.3
date	2001.02.26.23.52.52;	author wilmarth;	state Exp;
branches;
next	1.2;

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

1.1
date	2000.12.06.21.44.01;	author milind;	state Exp;
branches;
next	;


desc
@@


1.10
log
@fixed compilation.
@
text
@# Stub makefile for LaTeX PPL manual
FILE=manual
TEX=$(FILE).tex
DEST=ampi
LATEX2HTML=$(L2H) -split 4
PROJECT_LINK='<a href="http://charm.cs.uiuc.edu/research/ampi">AMPI Homepage</a><br>'

include ../Makefile.common

index.tex:
	touch index.tex
@


1.9
log
@Moved to new, much simpler Makefile.common
@
text
@d9 3
@


1.8
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/ampi.ps
	/bin/cp manual.pdf $(DOCDIR)/pdf/ampi.pdf
	/bin/rm -rf $(DOCDIR)/html/ampi
	/bin/cp -R manual $(DOCDIR)/html/ampi

web:
	make all
	/bin/cp manual.ps $(WEBDIR)/ps/ampi.ps
	/bin/cp manual.pdf $(WEBDIR)/pdf/ampi.pdf
	/bin/rm -rf $(WEBDIR)/html/ampi
	/bin/cp -R manual $(WEBDIR)/html/ampi
	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.7
log
@Use more sensible relative path to get to doc/ directory.
@
text
@d2 1
a2 1
WEBDIR=/expand6/groupMosaic/ppl_manuals
@


1.6
log
@*** empty log message ***
@
text
@d1 1
a1 1
DOCDIR=../../../doc
@


1.5
log
@*** empty log message ***
@
text
@d17 1
a17 1
        latex manual.tex
@


1.4
log
@Added proper permission settings for web versions of the manuals.
@
text
@d16 2
a17 1
	latex manual.tex
@


1.3
log
@Set web path to point to the real location...
@
text
@d42 2
@


1.2
log
@New Makefile behavior.
@
text
@d2 1
a2 1
WEBDIR=/expand6/groupMosaic/pplmantest
@


1.1
log
@Added ampi manual placeholder.
@
text
@d1 2
a2 3
PSDIR=../../../doc/ps
PDFDIR=../../../doc/pdf
HDIR=../../../doc/html
a6 1
	make clean
a12 1
	/bin/cp manual.ps $(PSDIR)/ampi.ps
a14 1
	make clean
a17 2
	/bin/rm -rf $(HDIR)/ampi
	/bin/cp -R manual $(HDIR)/ampi
a19 1
	make clean
d24 18
a41 1
	/bin/cp manual.pdf $(PDFDIR)/ampi.pdf
@

