Rev 1808 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<project name="dpkg-copy-macrodef"><!-- C O P Y R I G H T N O T I C EThis material is confidential to ERG and may not be disclosed in wholeor in part to any third party nor used in any manner whatsoever otherthan for the purposes expressly consented to by ERG in writing.This material is also copyright and may not be reproduced, stored in aretrieval system or transmitted in any form or by any means in whole orin part without the express written consent of ERG.--><macrodef name="dpkg-copy"><!-- Indicates the package being released, and also the directory where it will be releasedwhen combined with @{dpkg.archive} and @{version}.--><attribute name="package"description="The name of the package in dpkg_archive."/><!-- Indicates which version of the package is being released and also the direcotry when combinded with@{dpkg.archive} and @{package}.--><attribute name="version"description="The version being released."/><!-- The location of the files to release to @{dpkg.archive}/@{package}/@{version}.--><attribute name="fromdir"default="${basedir}/build/pkg"description="The location of the files to release."/><!-- The location of dpkg archive.--><attribute name="dpkg.archive"default="${env.GBE_DPKG}"description="Where the files will be released to."/><!-- Optionally which files to include and exclude using anything you can put inside a files set.--><element name="files"optional="true"implicit="true"description="Used to explicitly include and exclude files that are in the fromdir."/><!--Copy the files (optionally specified by files element) from the location specified by @{fromdir} to thelocation specified by @{dpkg.archive}/@{package}/@{version}.--><sequential><mkdir dir="@{dpkg.archive}/@{package}/@{version}"/><copy todir="@{dpkg.archive}/@{package}/@{version}"><fileset dir="@{fromdir}"><files/></fileset></copy></sequential></macrodef></project>