Changeset 1224

Show
Ignore:
Timestamp:
07/04/09 09:42:43 (4 years ago)
Author:
tschaub
Message:

Adding doc src and build target.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • apps/opengeo/geoexplorer/trunk/build/build.xml

    r1179 r1224  
    1313        <tstamp/> 
    1414        <mkdir dir="${build}"/> 
     15    </target> 
     16     
     17    <target name="doc" depends="init" description="build documentation"> 
     18        <echo>Building docs.</echo> 
     19        <exec executable="sphinx-build" failonerror="true"> 
     20            <arg line="-b html"/> 
     21            <arg value="-d"/> 
     22            <arg path="${src}/doc/_build/doctrees"/> 
     23            <arg path="${src}/doc"/> 
     24            <arg path="${build}/doc"/> 
     25        </exec> 
    1526    </target> 
    1627     
     
    6071    </target> 
    6172 
    62     <target name="dist" depends="clean, init, jsbuild" description="prepare app for distribution"> 
     73    <target name="dist" depends="clean, init, jsbuild, doc" description="prepare app for distribution"> 
    6374        <echo>Preparing for distribution.</echo> 
    6475