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
Line 
1
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
17GREENSTONEIDLFILE=/home/nzdl/gsdl/lib/corbaiface.idl
18
19all: org/nzdl/corba/gsdlInterface/corbaiface.java
20 (cd gnu/getopt && make all)
21 (cd org/nzdl && make all)
22 diff --brief ./corbaiface.idl $(GREENSTONEIDLFILE)
23
24org/nzdl/corba/gsdlInterface/corbaiface.java: corbaiface.idl
25 idlj -fclient -pkgPrefix gsdlInterface org.nzdl.corba corbaiface.idl
26 idlj -fserver -pkgPrefix gsdlInterface org.nzdl.corba corbaiface.idl
27 javac org/nzdl/corba/gsdlInterface/*.java
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
34docs:
35 mkdir docs
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
37# javadoc -private -version -author org/nzdl/*.java org/nzdl/*/*.java org/nzdl/*/*/*.java
38
39clean:
40 (cd org/nzdl && make clean)
41 rm -rf docs
42 rm -rf org/nzdl/corba
43
44
45
46
47
Note: See TracBrowser for help on using the repository browser.