/[eiffelstudio]/vendor/gobosoft.com/gobo/current/doc/argument/build.eant
ViewVC logotype

Contents of /vendor/gobosoft.com/gobo/current/doc/argument/build.eant

Parent Directory Parent Directory | Revision Log Revision Log


Revision 90767 - (show annotations)
Tue Jan 22 00:56:30 2013 UTC (6 years, 8 months ago) by manus
File MIME type: text/xml
File size: 2720 byte(s)
Updated svn:eol-style to be native and svn:mime-style to be text/xml

1 <?xml version="1.0"?>
2
3 <project name="argument_doc" default="help">
4
5 <description>
6 description: "Gobo Eiffel Argument Parser documentation"
7 copyright: "Copyright (c) 2006, Bernd Schoeller and others"
8 license: "MIT License"
9 date: "$Date$"
10 revision: "$Revision$"
11 </description>
12
13 <target name="help">
14 <echo message="usage:"/>
15 <echo message=" geant install"/>
16 <echo message=" geant clean"/>
17 <echo message=" geant clobber"/>
18 </target>
19
20 <target name="install">
21 <description>
22 Install the Gobo Eiffel Argument Parser documentation.
23 </description>
24
25 <set name="xslt_processor" value="gexslt" unless="$GOBO_XSLT_PROCESSOR"/>
26 <set name="xslt_processor" value="${GOBO_XSLT_PROCESSOR}" if="$GOBO_XSLT_PROCESSOR"/>
27
28 <set name="previous" value="index"/>
29 <set name="current" value="index"/>
30 <geant target="xslt_and_shift" arguments="introduction"/>
31 <geant target="xslt_and_shift" arguments="parser"/>
32 <geant target="xslt_and_shift" arguments="options"/>
33 <geant target="xslt_and_shift" arguments="alternate"/>
34 <geant target="xslt_and_shift" arguments="help"/>
35 <geant target="xslt_and_shift" arguments="error"/>
36 <geant target="xslt_and_shift" arguments="index"/>
37 </target>
38
39 <target name="clean">
40 <description>
41 Remove intermediary generated files.
42 </description>
43
44 <!-- do nothing -->
45 </target>
46
47 <target name="clobber">
48 <description>
49 Remove all generated files.
50 </description>
51
52 <delete file="index.html"/>
53 <delete file="introduction.html"/>
54 <delete file="parser.html"/>
55 <delete file="options.html"/>
56 <delete file="alternate.html"/>
57 <delete file="help.html"/>
58 <delete file="error.html"/>
59 </target>
60
61 <!-- Implementation -->
62
63 <target name="xslt_and_shift" export="NONE">
64 <description>
65 Call `xslt' and shift variables `previous' and `current' one chapter forward.
66 </description>
67 <argument name="a_next"/>
68
69 <geant target="xslt" arguments="${previous},${current},${a_next}"/>
70 <!-- Shift parameters -->
71 <set name="previous" value="${current}"/>
72 <set name="current" value="${a_next}"/>
73 </target>
74
75 <target name="xslt" export="NONE">
76 <description>
77 Execute XSL Transformation for argument ${a_file}, ${a_previous}
78 and ${a_next} using processor ${xslt_processor}.
79 </description>
80 <argument name="a_previous"/>
81 <argument name="a_file"/>
82 <argument name="a_next"/>
83
84 <xslt processor="${xslt_processor}" input="${a_file}.xml" output="${a_file}.html" stylesheet="${GOBO}/doc/misc/gobo2html2.xsl">
85 <parameter name="previous" value="&quot;'${a_previous}.html'&quot;"/>
86 <parameter name="next" value="&quot;'${a_next}.html'&quot;"/>
87 <parameter name="toc" value="&quot;'index.html'&quot;"/>
88 </xslt>
89 </target>
90
91 </project>

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision
svn:mime-type text/xml

  ViewVC Help
Powered by ViewVC 1.1.23