From: <ia...@us...> - 2005-10-04 02:41:34
|
Update of /cvsroot/nantcontrib/NAntContrib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28086 Modified Files: NAntContrib.build Log Message: moved filter-copy of help files to a seperate target so that it can be called when the doc target runs - as well as when the package happens. Index: NAntContrib.build =================================================================== RCS file: /cvsroot/nantcontrib/NAntContrib/NAntContrib.build,v retrieving revision 1.103 retrieving revision 1.104 diff -C2 -d -r1.103 -r1.104 *** NAntContrib.build 3 Oct 2005 08:38:28 -0000 1.103 --- NAntContrib.build 4 Oct 2005 02:41:22 -0000 1.104 *************** *** 312,316 **** <!-- Build task and sdk documentation --> ! <target name="doc" depends="build" description="build documentation"> <!-- ensure NAnt documenter exists --> <if test="${not file::exists(path::combine(nant.dir, 'bin/NDoc.Documenter.NAnt.dll'))}"> --- 312,316 ---- <!-- Build task and sdk documentation --> ! <target name="doc" depends="build filter-copy-help-html" description="build documentation"> <!-- ensure NAnt documenter exists --> <if test="${not file::exists(path::combine(nant.dir, 'bin/NDoc.Documenter.NAnt.dll'))}"> *************** *** 398,401 **** --- 398,402 ---- <fileset basedir="doc/help"> <include name="**/*" /> + <!-- exclude static html pages as these will be filter-copied --> <exclude name="**/*.html" /> </fileset> *************** *** 443,446 **** --- 444,452 ---- </copy> + <!-- determine the zip file prefix directory --> + <property name="project.zip.prefix" value="${project.name}-${project.version.full}" /> + </target> + + <target name = "filter-copy-help-html" > <!-- filter-copy static html pages --> <copy todir="${build.dir}" overwrite="true"> *************** *** 466,472 **** </filterchain> </copy> - - <!-- determine the zip file prefix directory --> - <property name="project.zip.prefix" value="${project.name}-${project.version.full}" /> </target> --- 472,475 ---- |