<?xml version="1.0" encoding="UTF-8"?>
<project name="documentation" default="document" basedir="../../">
<property file="build/build.properties" />
<target name="document">
<phingcall target="apidocs" />
<phingcall target="cb" />
</target>
<target name="apidocs">
<delete dir="${path.results}/api" />
<mkdir dir="${path.results}/api" />
<exec
passthru="true"
command="phpuml
"${path.lib}/CryptLib"
-f htmlnew
-n CryptLib
--no-deployment-view
-o "${path.results}/api""
/>
</target>
<target name="cb">
<delete dir="${path.results}/code-browser" />
<mkdir dir="${path.results}/code-browser" />
<mkdir dir="${path.results}/logs" />
<exec
command="phpcb
--source "${path.lib}"
--output "${path.results}/code-browser/"
--log "${path.logs}""
passthru="true"
checkreturn="false" />
</target>
</project>