root/juggler/branches/2.2/modules/tweek/java/Makefile.docs

Revision 20708, 3.8 kB (checked in by patrick, 1 year ago)

URL updates.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
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 tweek/java.  It requires GNU make.
29 # This is used only to generate and install documentation and other files
30 # related to the Tweek 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.tweek
38 DOC_PKGS=       $(BASE_PKG)                     \
39                 $(BASE_PKG).gui                 \
40                 $(BASE_PKG).net                 \
41                 $(BASE_PKG).net.corba           \
42                 $(BASE_PKG).beandelivery        \
43                 $(BASE_PKG).beans               \
44                 $(BASE_PKG).beans.loader        \
45                 $(BASE_PKG).event               \
46                 $(BASE_PKG).services            \
47                 $(BASE_PKG).text                \
48                 $(BASE_PKG).ui                  \
49                 $(BASE_PKG).ui.treetable        \
50                 $(BASE_PKG).wizard              \
51                 $(BASE_PKG).wizard.panes        \
52                 tweek                           \
53                 tweek.SubjectManagerPackage
54
55 SWING_LAF_DIR=  ../../../external/swing-laf
56 JGOODIES_DIR=   $(SWING_LAF_DIR)/jgoodies-looks
57 KUNSTSTOFF_DIR= $(SWING_LAF_DIR)/kunststoff/sources
58 LIQUID_DIR=     $(SWING_LAF_DIR)/liquid
59
60 SRC_PATH=       $(srcdir):$(srcdir)/../extensions/java
61 JDOM_DIR=       ../../../external/jdom
62
63 CLASSPATH=      $(JDOM_DIR)/build/jdom.jar:$(JGOODIES_DIR)/looks.jar:$(LIQUID_DIR)/liquidlnf.jar:$(KUNSTSTOFF_DIR):$(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
64
65 JACORB_DIR=     ../../../external/JacORB
66 IDL=            $(JACORB_DIR)/idl
67
68 include ../doc/version.mk
69
70 webroot=        $(HOME)/public_html/jugglerweb
71 instdir=        tweek/$(PROJECT_NUMBER)
72 doc_prefix=     $(webroot)/$(instdir)
73 DOC_ROOT=       programmer.reference.java
74 APP_NAME=       Tweek Java API
75
76 docs:
77         JAVA_HOME=$(JDK_HOME) JACORB_PATH=$(JACORB_DIR) $(IDL) -d temp  \
78           -I.. ../tweek/idl/*.idl
79         @echo '<html><body>Contains classes that are generated automatically by an IDL-to-Java compiler from the Tweek IDL sources.</body></html>' >temp/tweek/package.html
80         $(JDK_HOME)/bin/javadoc -d $(DOC_ROOT)                          \
81           -sourcepath $(SRC_PATH):temp -classpath "$(CLASSPATH)"        \
82           -windowtitle "$(APP_NAME) v$(PROJECT_NUMBER)"                 \
83           -doctitle "$(APP_NAME) v$(PROJECT_NUMBER)"                    \
84           -header "<p><b>$(APP_NAME)</b><br>v$(PROJECT_NUMBER)</p>"     \
85           -bottom "<font size=1>Copyright &copy; 1998&ndash;2007 Iowa State University. All rights reserved.</font>" \
86           -link "http://java.sun.com/j2se/1.5.0/docs/api/"              \
87           -link "http://www.jdom.org/docs/apidocs/"                     \
88           $(DOC_PKGS)
89         rm -rf temp
90
91 install-docs:
92         mkdir -p $(doc_prefix)
93         rm -rf $(doc_prefix)/$(DOC_ROOT)
94         mv $(DOC_ROOT) $(doc_prefix)
95         cp -p beanlist.xsd $(webroot)/$(instdir)
96
97 clobber:
98         rm -rf $(DOC_ROOT)
Note: See TracBrowser for help on using the browser.