#!/bin/sh

if [ -z "$OPALE_DIR" ]
then
	echo "OPALE_DIR not initialized !"
	exit -1
fi

echo "--------------------------------------"
echo "Creates the documentation with javadoc"
echo "--------------------------------------"

javadoc -windowtitle "Opale API documentation" -sourcepath $OPALE_DIR -d $OPALE_DIR/documentation/API/  -version opale opale.ode opale.ode.scheme opale.m2d opale.m2d.component2d opale.m2d.object2d opale.tools opale.matrix opale.matrix.solver opale.mathtools

echo "The documentation is put in " $OPALE_DIR/documentation/API 
