+++ /dev/null
-# Uses Xalan-C++ to build Apache html documentation.
-
-workdir := ../mod
-xmlfiles := $(wildcard $(workdir)/*.xml)
-xmlfiles := $(subst allmodules.xml,,$(xmlfiles))
-htmlfiles := $(subst xml,html,$(xmlfiles))
-
-html: $(htmlfiles)
-
-# Xalan-C users use this:
-#%.html : %.xml
-# xsl-c -HTML -OUT $@ -IN ./manual.xsl
-
-# Xalan-C++ users use this:
-#%.html : %.xml
-# Xalan -v -o $@ $< ./manual.xsl
-
-# Xalan-J users use this:
-%.html : %.xml
- java org.apache.xalan.xslt.Process -in $< -out $@ -xsl manual.xsl
+++ /dev/null
-#!/bin/sh
-
-if [ "$JAVA_HOME" = "" ] ; then
- echo You must set JAVA_HOME to point at your Java Development Kit directory
- exit 1
-fi
-
-# convert the existing path to unix
-if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
- CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
-fi
-
-# Add in your .jar files first
-for i in ./lib/*.jar
-do
- CLASSPATH=$CLASSPATH:"$i"
-done
-
-# convert the unix path to windows
-if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
- CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
-fi
-
-BUILDFILE=build.xml
-
-${JAVA_HOME}/bin/java $ANT_OPTS -classpath "$CLASSPATH" \
- org.apache.tools.ant.Main \
- -Dant.home=$ANT_HOME \
- -buildfile ${BUILDFILE} \
- "$@"
+++ /dev/null
-<project name="manual" default="xslt" basedir=".">
-
- <!-- Initialization properties -->
- <path id="classpath">
- <fileset dir="./lib">
- <include name="**/*.jar"/>
- </fileset>
- </path>
-
-
-<!-- This target is for output of HTML pages via XSLT -->
- <!-- Requires JAXP/1.1 (all three JARs) or Xerces+Xalan -->
- <target name="xslt"
- description="Render HTML Pages via XSLT">
-
- <!-- Additional dependencies -->
- <dependset>
- <targetfilelist dir="../mod/"
- files="directives.html.en"/>
- <srcfileset dir="../mod/"
- includes="*.xml"
- excludes="allmodules.xml index.xml"/>
- </dependset>
-
- <dependset>
- <targetfilelist dir="../mod/"
- files="index.html.en"/>
- <srcfilelist dir="../mod/"
- files="allmodules.xml"/>
- </dependset>
-
- <dependset>
- <targetfileset dir="../mod/"
- includes="*.html.*"
- excludes="*-dict.html.*"/>
- <srcfilelist dir="./"
- files="common.xsl"/>
- </dependset>
-
- <!-- Transform the modules directory -->
- <style basedir="../mod/"
- destdir="../mod/"
- extension=".html"
- style="./manual.en.xsl"
- includes="*.xml"
- excludes="allmodules.xml">
- <mapper type="glob" from="*.xml" to="*.html.en"/>
- <param name="relative-path" expression="."/>
- </style>
- <style basedir="../mod/"
- destdir="../mod/"
- extension=".html"
- style="./manual.ja.xsl"
- includes="*.xml.ja"
- excludes="allmodules.xml.ja">
- <mapper type="glob" from="*.xml.ja" to="*.html.ja.jis"/>
- <param name="relative-path" expression="."/>
- </style>
-
- <!-- Transform the root directory of the manual -->
- <style basedir="../"
- destdir="../"
- extension=".html"
- style="./manual.en.xsl"
- includes="*.xml">
- <mapper type="glob" from="*.xml" to="*.html.en"/>
- <param name="relative-path" expression="."/>
- </style>
- <style basedir="../"
- destdir="../"
- extension=".html"
- style="./manual.ja.xsl"
- includes="*.xml.ja">
- <mapper type="glob" from="*.xml.ja" to="*.html.ja.jis"/>
- <param name="relative-path" expression="."/>
- </style>
-
- </target>
- <target name="validate"
- description="Validate the XML source files">
- <!-- Validate almost all XML files in all languages -->
- <xmlvalidate lenient="false" failonerror="false" warn="true">
- <fileset dir="../"
- includes="**/*.xml **/*.xml.*"
- excludes="mod/allmodules.xml mod/allmodules.xml.* style/**"/>
- </xmlvalidate>
- </target>
-</project>