increased buffer size to max needed size
[reactos.git] / cis / ReactOS.ApiStatus / Default.build
1 <?xml version="1.0"?>
2 <!--
3 Copyright (C) 2005 Casper S. Hornstrup
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 -->
19 <project name="ReactOS.ApiStatus" default="publish">
20
21 <property name="reactos.dir" value="reactos" />
22 <property name="apistatus.xsl" value="rapistatus.xsl" />
23 <property name="apistatus.xml" value="rapistatus.xml" />
24 <property name="apistatus.html" value="index2.html" />
25 <include buildfile="config.include" />
26
27 <target name="publish">
28 <delete dir="${reactos.dir}" if="${directory::exists(reactos.dir)}" />
29 <exec program="svn" commandline="export -r HEAD ${source.url} ${reactos.dir}" />
30 <exec program="rgenstat" commandline="reactos\apistatus.lst ${apistatus.xml}" />
31 <style style="${apistatus.xsl}" destdir="${reactos.dir}" in="${apistatus.xml}" out="${apistatus.html}" />
32 <copy todir="${publish.dir}" overwrite="true">
33 <fileset basedir=".">
34 <include name="${apistatus.xml}" />
35 <include name="${apistatus.html}" />
36 </fileset>
37 </copy>
38 <delete>
39 <fileset basedir=".">
40 <include name="${apistatus.xml}" />
41 <include name="${apistatus.html}" />
42 </fileset>
43 </delete>
44 <delete dir="${reactos.dir}" if="${directory::exists(reactos.dir)}" />
45 </target>
46 </project>