<?xml version="1.0" encoding="UTF-8"?>
<project name="package-documentation">

	<import file="common.xml"/>

<!-- Main targets -->
	<target name="package" description="Copies all documentation to a packaging location.  Unless overriden, copies all documentation.">
		<docs/>
	</target>

<!-- Macros -->
	<macrodef name="docs">
		<attribute name="output.dir" default="${package.docs.dir}/${doc.type}"/>
		<attribute name="input.dir" default="${doc.output.dir}"/>
		<sequential>
			<mkdir dir="@{output.dir}"/>
			<copy todir="@{output.dir}">
				<fileset dir="@{input.dir}"/>
			</copy>
		</sequential>
	</macrodef>

</project>