source: trunk/java-client/Makefile@ 2095

Last change on this file since 2095 was 2094, checked in by say1, 23 years ago

merged all docs into a single group

  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
RevLine 
[2068]1
[2089]2
3# find the top-level directory of the java-client tree
4# and add it to the java CLASSPATH
5
6ifndef GSJCHOME
7 export GSJCHOME=$(PWD)
8endif
9
10ifdef CLASSPATH
11 export CLASSPATH += :$(GSJCHOME)
12else
13 export CLASSPATH = $(GSJCHOME)
14endif
15
16
[2068]17GREENSTONEIDLFILE=/home/nzdl/gsdl/lib/corbaiface.idl
18
[2065]19all: org/nzdl/corba/gsdlInterface/corbaiface.java
[2091]20 (cd gnu/getopt && make all)
[2059]21 (cd org/nzdl && make all)
[2068]22 diff --brief ./corbaiface.idl $(GREENSTONEIDLFILE)
[2059]23
[2065]24org/nzdl/corba/gsdlInterface/corbaiface.java: corbaiface.idl
[2077]25 idlj -fclient -pkgPrefix gsdlInterface org.nzdl.corba corbaiface.idl
26 idlj -fserver -pkgPrefix gsdlInterface org.nzdl.corba corbaiface.idl
[2055]27 javac org/nzdl/corba/gsdlInterface/*.java
[2071]28
29
30#the first javadoc message uses some arguments not found in all
31#versions of javadoc. If it fails, use the second, which should
32#be backwardsly compatible.
33
[2065]34docs:
[2081]35 mkdir docs
[2094]36 javadoc -private -version -author -d docs -header "Documentation for the <a href=\"http://www.corba.org/\">CORBA</a> interface to the <a href=\"http://www.nzdl.org/\">NZDL</a>\'s Greenstone Digital Library software." -footer "This software is distributed under the <a href=\"http://www.gnu.org/copyleft/gpl.html\">GPL</a>" */*/*.java */*/*/*.java */*/*/*/*.java
[2071]37# javadoc -private -version -author org/nzdl/*.java org/nzdl/*/*.java org/nzdl/*/*/*.java
[2058]38
39clean:
40 (cd org/nzdl && make clean)
[2081]41 rm -rf docs
[2065]42 rm -rf org/nzdl/corba
[2058]43
[2089]44
45
46
47
Note: See TracBrowser for help on using the repository browser.