silence bakefile warnings about the generation of project files for sample bakefiles using <wx-data>

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2008-03-22 17:58:00 +00:00
parent 928f1a076c
commit 586235b181

View File

@ -73,27 +73,37 @@
<!-- Support for samples data files: -->
<!-- =============================================================== -->
<define-rule name="wx-data" extends="copy-files">
<template>
<dependency-of>all</dependency-of>
<dstdir>$(BUILDDIR)</dstdir>
<srcdir>$(SRCDIR)</srcdir>
</template>
<if cond="FORMAT_SUPPORTS_ACTIONS=='1'">
<define-rule name="wx-data" extends="copy-files">
<template>
<dependency-of>all</dependency-of>
<dstdir>$(BUILDDIR)</dstdir>
<srcdir>$(SRCDIR)</srcdir>
</template>
<!--
VS - FIXME:
Don't clean the files because it would wipe out sources files if
BUILDDIR==SRCDIR. This is same behaviour as in the old build system,
but it would be better to delete the files during "make clean" if
BUILDDIR!=SRCDIR.
<!--
VS - FIXME:
Don't clean the files because it would wipe out sources files if
BUILDDIR==SRCDIR. This is same behaviour as in the old build system,
but it would be better to delete the files during "make clean" if
BUILDDIR!=SRCDIR.
<define-tag name="files">
<clean-files>
$(' '.join(['$(BUILDDIR)$(DIRSEP)%s'%x for x in value.split()]))
</clean-files>
</define-tag>
-->
</define-rule>
<define-tag name="files">
<clean-files>
$(' '.join(['$(BUILDDIR)$(DIRSEP)%s'%x for x in value.split()]))
</clean-files>
</define-tag>
-->
</define-rule>
</if>
<if cond="FORMAT_SUPPORTS_ACTIONS=='0'">
<!-- empty stub for project-files formats which don't support <command> -->
<define-rule name="wx-data" extends="action">
<define-tag name="dstdir"/>
<define-tag name="srcdir"/>
<define-tag name="files"/>
</define-rule>
</if>
<!-- =============================================================== -->