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

Contents of /vendor/gobosoft.com/gobo/current/doc/gec/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: 2739 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="gec" default="help">
4
5 <description>
6 description: "Gobo Eiffel Compiler documentation"
7 copyright: "Copyright (c) 2006, Eric Bezault 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 Compiler 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="usage"/>
31 <geant target="xslt_and_shift" arguments="technology"/>
32 <geant target="xslt_and_shift" arguments="limitations"/>
33 <geant target="xslt_and_shift" arguments="future"/>
34 <geant target="xslt_and_shift" arguments="platforms"/>
35 <geant target="xslt_and_shift" arguments="see_also"/>
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 </target>
44
45 <target name="clobber">
46 <description>
47 Remove all generated files.
48 </description>
49
50 <delete file="index.html"/>
51 <delete file="usage.html"/>
52 <delete file="technology.html"/>
53 <delete file="limitations.html"/>
54 <delete file="future.html"/>
55 <delete file="platforms.html"/>
56 <delete file="see_also.html"/>
57 </target>
58
59 <!-- Implementation -->
60
61 <target name="init">
62 <!-- do nothing -->
63 </target>
64
65 <target name="xslt_and_shift" export="NONE">
66 <description>
67 Call `xslt' and shift variables `previous' and `current' one chapter forward.
68 </description>
69 <argument name="a_next"/>
70
71 <geant target="xslt" arguments="${previous},${current},${a_next}"/>
72 <!-- Shift parameters -->
73 <set name="previous" value="${current}"/>
74 <set name="current" value="${a_next}"/>
75 </target>
76
77 <target name="xslt" export="NONE">
78 <description>
79 Execute XSL Transformation for argument ${a_file}, ${a_previous}
80 and ${a_next} using processor ${xslt_processor}.
81 </description>
82 <argument name="a_previous"/>
83 <argument name="a_file"/>
84 <argument name="a_next"/>
85
86 <xslt processor="${xslt_processor}" input="${a_file}.xml" output="${a_file}.html" stylesheet="${GOBO}/doc/misc/gobo2html2.xsl">
87 <parameter name="previous" value="&quot;'${a_previous}.html'&quot;"/>
88 <parameter name="next" value="&quot;'${a_next}.html'&quot;"/>
89 <parameter name="toc" value="&quot;'index.html'&quot;"/>
90 </xslt>
91 </target>
92
93 </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