|
|
IDIR=../../doc |
IDIR=./doc |
LNCMD=test ! -f pplmanual.sty && ln -f -s ../pplmanual.sty . | LNCMD=test ! -f pplmanual.sty && ln -f -s ../pplmanual.sty . |
RMCMD=rm -f ./pplmanual.sty | RMCMD=rm -f ./pplmanual.sty |
DIRS=install converse convext charm++ libraries f90charm pose \ | DIRS=install converse convext charm++ libraries f90charm pose \ |
|
|
# (optional) PROJECT_LINK: HTML to include at bottom of page | # (optional) PROJECT_LINK: HTML to include at bottom of page |
| |
# Destination directory for local copy of files (e.g., on user machine) | # Destination directory for local copy of files (e.g., on user machine) |
DOCDIR=.. |
DOCDIR=../doc |
| |
# Destination directory for web-accessible copy of files (e.g., on PPL machines) | # Destination directory for web-accessible copy of files (e.g., on PPL machines) |
WEBDIR=/www/ppl_manuals | WEBDIR=/www/ppl_manuals |
|
|
-rm -fr index.tex $(FIG_CLEAN) | -rm -fr index.tex $(FIG_CLEAN) |
| |
# Build local copy of documentation: | # Build local copy of documentation: |
doc: all |
doc: pdf html |
if [ ! -d $(DOCDIR) ] ; then mkdir $(DOCDIR) ; fi | 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)/pdf ] ; then mkdir $(DOCDIR)/pdf ; fi |
if [ ! -d $(DOCDIR)/html ] ; then mkdir $(DOCDIR)/html ; fi | if [ ! -d $(DOCDIR)/html ] ; then mkdir $(DOCDIR)/html ; fi |
/bin/cp $(FILE).ps $(DOCDIR)/ps/$(DEST).ps |
|
/bin/cp $(FILE).pdf $(DOCDIR)/pdf/$(DEST).pdf | /bin/cp $(FILE).pdf $(DOCDIR)/pdf/$(DEST).pdf |
/bin/rm -rf $(DOCDIR)/html/$(DEST) | /bin/rm -rf $(DOCDIR)/html/$(DEST) |
/bin/cp -R $(FILE) $(DOCDIR)/html/$(DEST) | /bin/cp -R $(FILE) $(DOCDIR)/html/$(DEST) |