File: build.xml

package info (click to toggle)
docbook-xsl 1.79.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 96,128 kB
  • ctags: 919
  • sloc: xml: 151,206; sh: 840; ruby: 229; perl: 183; makefile: 87
file content (43 lines) | stat: -rw-r--r-- 1,352 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<project name="DocBook XSLT 1.0 stylesheets - Manpages" default="all">

  <property name="dbroot.dir" value="${ant.file}/../.."/>
  <import file="../tools/build-shared.xml"/>

  <target name="all" depends="param, profile, synop">
  </target>

  <target name="param">
    <echo>Building Manpages parameters...</echo>
    <antcall target="build-params">
      <param name="condition" value="manpages"/>
    </antcall>
  </target>

  <target name="profile">
    <echo>Building profiling version of Manpages stylesheet...</echo>
    <xslt in="docbook.xsl" out="profile-docbook.xsl" style="../profiling/xsl2profile.xsl">
      <factory name="com.icl.saxon.TransformerFactoryImpl"/>
      <classpath refid="saxon.classpath"/>
    </xslt>
  </target>

  <target name="synop">
    <echo>Building Manpages synopsis stylesheet...</echo>
    <xslt in="synop.xsl" out="html-synop.xsl" style="../tools/xsl/build/html2roff.xsl">
      <factory name="com.icl.saxon.TransformerFactoryImpl"/>
      <classpath refid="saxon.classpath"/>
    </xslt>
  </target>

  <target name="clean">
    <delete>
      <fileset dir=".">
	<include name="profile-docbook.xsl"/>
	<include name="html-synop.xsl"/>
      </fileset>
    </delete>
    <antcall target="clean-params"/>
  </target>

</project>