| 1 |
# ************** <auto-copyright.pl BEGIN do not edit this line> ************** |
|---|
| 2 |
# |
|---|
| 3 |
# VR Juggler is (C) Copyright 1998-2007 by Iowa State University |
|---|
| 4 |
# |
|---|
| 5 |
# Original Authors: |
|---|
| 6 |
# Allen Bierbaum, Christopher Just, |
|---|
| 7 |
# Patrick Hartling, Kevin Meinert, |
|---|
| 8 |
# Carolina Cruz-Neira, Albert Baker |
|---|
| 9 |
# |
|---|
| 10 |
# This library is free software; you can redistribute it and/or |
|---|
| 11 |
# modify it under the terms of the GNU Library General Public |
|---|
| 12 |
# License as published by the Free Software Foundation; either |
|---|
| 13 |
# version 2 of the License, or (at your option) any later version. |
|---|
| 14 |
# |
|---|
| 15 |
# This library is distributed in the hope that it will be useful, |
|---|
| 16 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 17 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 18 |
# Library General Public License for more details. |
|---|
| 19 |
# |
|---|
| 20 |
# You should have received a copy of the GNU Library General Public |
|---|
| 21 |
# License along with this library; if not, write to the |
|---|
| 22 |
# Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|---|
| 23 |
# Boston, MA 02111-1307, USA. |
|---|
| 24 |
# |
|---|
| 25 |
# *************** <auto-copyright.pl END do not edit this line> *************** |
|---|
| 26 |
|
|---|
| 27 |
# ----------------------------------------------------------------------------- |
|---|
| 28 |
# Makefile.docs for VRJConfig. It requires GNU make. |
|---|
| 29 |
# This is used only to generate and install documentation and other files |
|---|
| 30 |
# related to the VR Juggler website. |
|---|
| 31 |
# ----------------------------------------------------------------------------- |
|---|
| 32 |
|
|---|
| 33 |
srcdir= . |
|---|
| 34 |
JDK_HOME?= /usr/java |
|---|
| 35 |
|
|---|
| 36 |
# List the packages for which JavaDoc documentation will be generated. |
|---|
| 37 |
BASE_PKG= org.vrjuggler.vrjconfig |
|---|
| 38 |
DOC_PKGS= $(BASE_PKG) \ |
|---|
| 39 |
$(BASE_PKG).commoneditors \ |
|---|
| 40 |
$(BASE_PKG).commoneditors.devicegraph \ |
|---|
| 41 |
$(BASE_PKG).commoneditors.devicegraph.extras \ |
|---|
| 42 |
$(BASE_PKG).commoneditors.event \ |
|---|
| 43 |
$(BASE_PKG).commoneditors.placer \ |
|---|
| 44 |
$(BASE_PKG).commoneditors.proxytree \ |
|---|
| 45 |
$(BASE_PKG).ui |
|---|
| 46 |
SRC_PATH= $(srcdir):$(srcdir)/commoneditors |
|---|
| 47 |
JDOM_DIR= ../../../external/jdom |
|---|
| 48 |
JGRAPH_DIR= ../../../external/jgraph/lib |
|---|
| 49 |
TL_DIR= ../../../external/TableLayout |
|---|
| 50 |
CLASSPATH= $(TL_DIR)/TableLayout.jar:$(JDOM_DIR)/build/jdom.jar:$(JGRAPH_DIR)/jgraph.jar:$(JGRAPH_DIR)/jgraphaddons.jar:$(TWEEK_BASE_DIR)/share/tweek-$(TWEEK_VERSION)/java/Tweek.jar:$(TWEEK_BASE_DIR)/share/tweek-$(TWEEK_VERSION)/java/TweekBeans.jar:$(TWEEK_BASE_DIR)/share/tweek-$(TWEEK_VERSION)/java/TweekEvents.jar:$(TWEEK_BASE_DIR)/share/tweek-$(TWEEK_VERSION)/java/TweekNet.jar:$(TWEEK_BASE_DIR)/share/tweek-$(TWEEK_VERSION)/java/TweekServices.jar:$(TWEEK_BASE_DIR)/share/tweek-$(TWEEK_VERSION)/java/ui.jar:$(JCCL_BASE_DIR)/share/jccl-$(JCCL_VERSION)/beans/jccl_config.jar:$(JCCL_BASE_DIR)/share/jccl-$(JCCL_VERSION)/beans/jccl_editors.jar:$(JCCL_BASE_DIR)/share/jccl-$(JCCL_VERSION)/beans/jccl_rtrc.jar |
|---|
| 51 |
|
|---|
| 52 |
include ../doc/version.mk |
|---|
| 53 |
|
|---|
| 54 |
webroot= $(HOME)/public_html/jugglerweb |
|---|
| 55 |
instdir= vrjuggler/$(PROJECT_NUMBER) |
|---|
| 56 |
doc_prefix= $(webroot)/$(instdir) |
|---|
| 57 |
DOC_ROOT= programmer.reference.java |
|---|
| 58 |
APP_NAME= VRJConfig UI API |
|---|
| 59 |
|
|---|
| 60 |
docs: |
|---|
| 61 |
$(JDK_HOME)/bin/javadoc -d $(DOC_ROOT) \ |
|---|
| 62 |
-sourcepath $(SRC_PATH) -classpath "$(CLASSPATH)" \ |
|---|
| 63 |
-windowtitle "$(APP_NAME) v$(PROJECT_NUMBER)" \ |
|---|
| 64 |
-doctitle "$(APP_NAME) v$(PROJECT_NUMBER)" \ |
|---|
| 65 |
-header "<p><b>$(APP_NAME)</b><br>v$(PROJECT_NUMBER)</p>" \ |
|---|
| 66 |
-bottom "<font size=1>Copyright © 1998–2007 Iowa State University. All rights reserved.</font>" \ |
|---|
| 67 |
-link "http://java.sun.com/j2se/1.5.0/docs/api/" \ |
|---|
| 68 |
-link "http://developer.vrjuggler.org/docs/tweek/1.2/programmer.reference.java" \ |
|---|
| 69 |
-link "http://developer.vrjuggler.org/docs/jccl/1.2/programmer.reference.java" \ |
|---|
| 70 |
-link "http://www.jdom.org/docs/apidocs/" \ |
|---|
| 71 |
-link "http://www.jgraph.com/doc/jgraph/" \ |
|---|
| 72 |
$(DOC_PKGS) |
|---|
| 73 |
|
|---|
| 74 |
install-docs: |
|---|
| 75 |
mkdir -p $(doc_prefix) |
|---|
| 76 |
rm -rf $(doc_prefix)/$(DOC_ROOT) |
|---|
| 77 |
mv $(DOC_ROOT) $(doc_prefix) |
|---|
| 78 |
|
|---|
| 79 |
clobber: |
|---|
| 80 |
rm -rf $(DOC_ROOT) |
|---|