| 1 |
# ************** <auto-copyright.pl BEGIN do not edit this line> ************** |
|---|
| 2 |
# |
|---|
| 3 |
# VR Juggler is (C) Copyright 1998, 1999, 2000, 2001, 2002 |
|---|
| 4 |
# by Iowa State University |
|---|
| 5 |
# |
|---|
| 6 |
# Original Authors: |
|---|
| 7 |
# Allen Bierbaum, Christopher Just, |
|---|
| 8 |
# Patrick Hartling, Kevin Meinert, |
|---|
| 9 |
# Carolina Cruz-Neira, Albert Baker |
|---|
| 10 |
# |
|---|
| 11 |
# This library is free software; you can redistribute it and/or |
|---|
| 12 |
# modify it under the terms of the GNU Library General Public |
|---|
| 13 |
# License as published by the Free Software Foundation; either |
|---|
| 14 |
# version 2 of the License, or (at your option) any later version. |
|---|
| 15 |
# |
|---|
| 16 |
# This library is distributed in the hope that it will be useful, |
|---|
| 17 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 19 |
# Library General Public License for more details. |
|---|
| 20 |
# |
|---|
| 21 |
# You should have received a copy of the GNU Library General Public |
|---|
| 22 |
# License along with this library; if not, write to the |
|---|
| 23 |
# Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|---|
| 24 |
# Boston, MA 02111-1307, USA. |
|---|
| 25 |
# |
|---|
| 26 |
# ----------------------------------------------------------------- |
|---|
| 27 |
# File: $RCSfile$ |
|---|
| 28 |
# Date modified: $Date$ |
|---|
| 29 |
# Version: $Revision$ |
|---|
| 30 |
# ----------------------------------------------------------------- |
|---|
| 31 |
# |
|---|
| 32 |
# *************** <auto-copyright.pl END do not edit this line> *************** |
|---|
| 33 |
|
|---|
| 34 |
# ----------------------------------------------------------------------------- |
|---|
| 35 |
# Makefile.in for juggler/Doc. It requires GNU make. |
|---|
| 36 |
# |
|---|
| 37 |
# Generated for use on @PLATFORM@ |
|---|
| 38 |
# ----------------------------------------------------------------------------- |
|---|
| 39 |
|
|---|
| 40 |
default: docs |
|---|
| 41 |
|
|---|
| 42 |
# Include common definitions. |
|---|
| 43 |
include @topdir@/Makefile.base |
|---|
| 44 |
|
|---|
| 45 |
srcdir = @srcdir@ |
|---|
| 46 |
top_srcdir = @top_srcdir@ |
|---|
| 47 |
|
|---|
| 48 |
PERCEPS_DIR = ${srcdir} |
|---|
| 49 |
PERCEPS = ${PERCEPS_DIR}/bin/perceps |
|---|
| 50 |
|
|---|
| 51 |
FILTERS = ${PERCEPS_DIR}/filters |
|---|
| 52 |
JAVA_CLASS = ${PERCEPS_DIR}/classes |
|---|
| 53 |
OUT_INT = ./internal_doc |
|---|
| 54 |
OUT_PUB = ./public_doc |
|---|
| 55 |
TEMPLATES_INT = ${PERCEPS_DIR}/templates/internal |
|---|
| 56 |
TEMPLATES_PUB = ${PERCEPS_DIR}/templates/public |
|---|
| 57 |
|
|---|
| 58 |
# Fill these two in!! Together, they form the installation prefix. |
|---|
| 59 |
webroot= ${HOME}/public_html/jugglerweb |
|---|
| 60 |
instdir= vrjuggler/1.0/programmer.reference |
|---|
| 61 |
|
|---|
| 62 |
prefix_pub= ${webroot}/${instdir} |
|---|
| 63 |
prefix_int= ${webroot}/${instdir}.internal |
|---|
| 64 |
|
|---|
| 65 |
# If ${SUBDIRS} is not defined yet, include the Doc subdirs.mk file to get a |
|---|
| 66 |
# static list of subdirectories. |
|---|
| 67 |
ifndef SUBDIRS |
|---|
| 68 |
include ${VJROOT_ABS}/Doc/subdirs.mk |
|---|
| 69 |
DIRS = ${SUBDIRS} |
|---|
| 70 |
else |
|---|
| 71 |
DIRS = ${addprefix ${top_srcdir}/, ${SUBDIRS}} |
|---|
| 72 |
endif |
|---|
| 73 |
|
|---|
| 74 |
@SET_MAKE@ |
|---|
| 75 |
|
|---|
| 76 |
# ----------------------------------------------------------------------------- |
|---|
| 77 |
# Documentation generation targets. |
|---|
| 78 |
# ----------------------------------------------------------------------------- |
|---|
| 79 |
all docs: doc-internal doc-public |
|---|
| 80 |
|
|---|
| 81 |
doc-internal: |
|---|
| 82 |
${PERL} ${PERCEPS} -a -b -c -h -f -d ${OUT_INT} -F ${FILTERS} \ |
|---|
| 83 |
-t ${TEMPLATES_INT} ${DIRS} |
|---|
| 84 |
cp ${JAVA_CLASS}/*.class ${OUT_INT} |
|---|
| 85 |
|
|---|
| 86 |
doc-public: |
|---|
| 87 |
${PERL} ${PERCEPS} -a -b -c -h -f -d ${OUT_PUB} -F ${FILTERS} \ |
|---|
| 88 |
-t ${TEMPLATES_PUB} ${DIRS} |
|---|
| 89 |
cp ${JAVA_CLASS}/*.class ${OUT_PUB} |
|---|
| 90 |
|
|---|
| 91 |
install-docs: install-doc-internal install-doc-public |
|---|
| 92 |
|
|---|
| 93 |
install-doc-internal: |
|---|
| 94 |
if [ ! -d ${prefix_int} ]; then mkdir -p ${prefix_int} ; fi |
|---|
| 95 |
mv ${OUT_INT}/* ${prefix_int}/ |
|---|
| 96 |
|
|---|
| 97 |
install-doc-public: |
|---|
| 98 |
if [ ! -d ${prefix_pub} ]; then mkdir -p ${prefix_pub} ; fi |
|---|
| 99 |
mv ${OUT_PUB}/* ${prefix_pub}/ |
|---|
| 100 |
|
|---|
| 101 |
# ----------------------------------------------------------------------------- |
|---|
| 102 |
# Clean-up. |
|---|
| 103 |
# ----------------------------------------------------------------------------- |
|---|
| 104 |
CLEAN_DIRS += ${OUT_INT} ${OUT_PUB} |
|---|