common/templates/source-spec.ant.xml.ftl
changeset 52 4db6721a5a24
parent 51 5a4e58cd750c
child 53 e782ed26b791
--- a/common/templates/source-spec.ant.xml.ftl	Wed Apr 08 12:59:46 2009 +0100
+++ b/common/templates/source-spec.ant.xml.ftl	Wed Apr 08 13:32:09 2009 +0100
@@ -2,12 +2,13 @@
 <project name="SF-SOURCESPEC" default="all" xmlns:hlm="http://www.nokia.com/helium">
 
 <#assign fileset = "" />
-<#assign target_depends = "" />
+<#assign target_depends = "reset-bom-sources-csv" />
 <#assign dollar = "$"/>
 <#assign count = 0 />
 
-<!-- remove actual_sources.csv file -->
-<delete file="${ant['build.drive']}/output/BOM/sources.csv" quiet="true"/>
+    <target name="reset-bom-sources-csv">
+        <delete file="${ant['build.drive']}/output/BOM/sources.csv" quiet="true"/>
+    </target>
 
 <#list data as pkg_detail>
     <target name="sf-prebuild-${count}">