mirror of https://github.com/apache/ant-ivy
44 lines
1.9 KiB
XML
44 lines
1.9 KiB
XML
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<project default="generate-asciidoc" name="xooki2asciidoc" xmlns:xooki="antlib:xooki">
|
|
<import file="build-release.xml"/>
|
|
|
|
<target name="generate-asciidoc">
|
|
<!-- requires java 6 jdk in path and Apache Ant 1.7 -->
|
|
<taskdef uri="antlib:xooki" file="${basedir}/doc/xooki2asciidoc/antlib.xml" />
|
|
<xooki:toAsciidoc destDir="${doc.src.dir}" checkUpToDate="true" xookidir="${basedir}/doc/xooki2asciidoc">
|
|
<fileset dir="${basedir}/doc">
|
|
<include name="**/*.html"/>
|
|
<exclude name="template*.html"/>
|
|
<exclude name="*Template.html"/>
|
|
<exclude name="conflict-solving-algo.html"/>
|
|
<exclude name="use.html"/>
|
|
<exclude name="samples/**"/>
|
|
<exclude name="js/**"/>
|
|
<exclude name="reports/**"/>
|
|
<exclude name="xooki/**"/>
|
|
</fileset>
|
|
</xooki:toAsciidoc>
|
|
<copy todir="${doc.src.dir}">
|
|
<fileset dir="${basedir}/doc" includes="toc.json,images/**,style/**,samples/**,js/**,ivy.xsd" />
|
|
</copy>
|
|
</target>
|
|
|
|
</project>
|