Broken feature temporarily deleted
[mir.git] / doc / makejavadoc.sh
1 #!/bin/bash
2
3 # Generates JavaDoc documentation of the Mir sources
4
5 if ( grep XXXUNCONFIGUREDXXX classpathrc > /dev/null ); then
6         echo "Before you can use this script you have to edit classpathrc"
7         echo "so it contains all pathnames and .jar files that are neccessary"
8         echo "to build the docs. You'll see the warnings if some files are missing."
9 fi
10
11
12 OLDU=$(umask)
13 umask 022
14
15 BASEDIR=$(pwd)
16 SOURCES=$(find $BASEDIR/../source -name \*.java)
17 PACKAGES=$(. classpath.sh $BASEDIR/../../Mir/WEB-INF/lib/*.jar)
18 #LINK=/usr/share/doc/libservlet2.2-java/api
19
20 #echo $BASEDIR
21 #echo $SOURCES
22 #echo $PACKAGES
23
24 javadoc -sourcepath $PACKAGES -d /pub/Dokumente/Indymedia/de-tech/Mir/javadoc/ $SOURCES
25
26 umask $OLDU