Changeset 124 for trunk


Ignore:
Timestamp:
12/14/06 11:25:48 (5 years ago)
Author:
jlee
Message:

Build documentation with Ant

Location:
trunk
Files:
1109 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r122 r124  
    88        <property name="swt.unix.dir" value="lib/swt-M20060921-0945-gtk-linux-x86" /> 
    99        <property name="swt.windows.dir" value="lib/swt-M20060921-0945-win32-win32-x86" /> 
     10        <property name="doc.dir" value="org/thestaticvoid/iriverter" /> 
     11        <property name="xslt.style" value="lib/docbook-xsl-1.71.1/html/chunk.xsl" /> 
     12        <property name="xslt.parser.classpath" value="lib/docbook-xsl-1.71.1/extensions/saxon65.jar" /> 
    1013 
    1114        <condition property="swt.dir" value="${swt.unix.dir}"> 
     
    2528 
    2629                <copy todir="${build.dir}"> 
    27                         <fileset dir="${src.dir}" excludes="**/*.java" /> 
     30                        <fileset dir="${src.dir}"> 
     31                                <include name="**/icons/*" /> 
     32                                <include name="**/profiles/*" /> 
     33                        </fileset>  
    2834                </copy> 
    2935 
     
    3137        </target> 
    3238 
    33         <target name="jar" depends="compile"> 
     39        <target name="doc" depends="compile"> 
     40                <copy todir="${build.dir}"> 
     41                        <fileset dir="${src.dir}" includes="**/doc/images/*" /> 
     42                </copy> 
     43 
     44                <xslt basedir="${src.dir}" destdir="${build.dir}" includes="org/thestaticvoid/iriverter/doc/index.xml" style="lib/docbook-xsl-1.71.1/html/chunk.xsl"> 
     45                        <classpath location="lib/saxon.jar" /> 
     46                        <param name="base.dir" expression="${build.dir}/org/thestaticvoid/iriverter/doc/" /> 
     47                        <param name="use.id.as.filename" expression="1" /> 
     48                </xslt> 
     49        </target> 
     50 
     51        <target name="jar" depends="doc"> 
    3452                <mkdir dir="${jar.dir}" /> 
    3553                 
  • trunk/src/org/thestaticvoid/iriverter/doc/using.xml

    r106 r124  
    2929                                        <guisubmenu>New</guisubmenu> 
    3030                                        <guimenuitem>Single Video</guimenuitem> 
    31                                 </menuchoice>, press <guiicon><inlinegraphic fileref="../images/singlevideo-24.png" /></guiicon> on the toolbar, or drag a supported video from your file manager to the iriverter window.</para> 
     31                                </menuchoice>, press <guiicon><inlinegraphic fileref="images/singlevideo-24.png" /></guiicon> on the toolbar, or drag a supported video from your file manager to the iriverter window.</para> 
    3232 
    3333                        <para>Finally select your input and output videos if necessary.</para> 
     
    4646                                        <guisubmenu>New</guisubmenu> 
    4747                                        <guimenuitem>Directory</guimenuitem> 
    48                                 </menuchoice>, press <guiicon><inlinegraphic fileref="../images/directory-24.png" /></guiicon> on the toolbar, or drag a directory from your file manager to the iriverter window.</para> 
     48                                </menuchoice>, press <guiicon><inlinegraphic fileref="images/directory-24.png" /></guiicon> on the toolbar, or drag a directory from your file manager to the iriverter window.</para> 
    4949 
    5050                        <para>iriverter will automatically suggest a new output directory for the converted files, but you can change that as you wish.  iriverter will convert all of the supported videos in the selected input directory and its subdirectories if specified and will change their endings to <filename>.h300.avi</filename> or <filename>.pmp.avi</filename> depending on your device so you don't need to worry about it overwriting your original videos.</para> 
     
    6262                                        <guisubmenu>New</guisubmenu> 
    6363                                        <guimenuitem>DVD</guimenuitem> 
    64                                 </menuchoice>, press <guiicon><inlinegraphic fileref="../images/dvd-24.png" /></guiicon> on the toolbar, or drag your DVD drive icon from your file manager to the iriverter window.</para> 
     64                                </menuchoice>, press <guiicon><inlinegraphic fileref="images/dvd-24.png" /></guiicon> on the toolbar, or drag your DVD drive icon from your file manager to the iriverter window.</para> 
    6565 
    6666                        <para>If you have a DVD in the drive already (and it is mounted if you are using Linux), iriverter will automatically detect the drive and the DVD's titles, chapters and languages.  Otherwise you need to put the DVD in the drive (and mount it on Linux) and select "Other..." from the DVD Drive drop-down box and pick the appropriate drive (or mount point in Linux).</para> 
     
    126126                                        <guimenu>Jobs</guimenu> 
    127127                                        <guimenuitem>Convert...</guimenuitem> 
    128                                 </menuchoice> or press <guiicon><inlinegraphic fileref="../images/convert-24.png" /></guiicon> on the toolbar.  A popup will appear indicating the conversion progress along with any questions like overwriting files and possible errors.</para> 
     128                                </menuchoice> or press <guiicon><inlinegraphic fileref="images/convert-24.png" /></guiicon> on the toolbar.  A popup will appear indicating the conversion progress along with any questions like overwriting files and possible errors.</para> 
    129129                </sect2> 
    130130        </sect1> 
Note: See TracChangeset for help on using the changeset viewer.