<depends>xmllib</depends>
<command>
- (if test -d utils/wxrc ; then cd utils/wxrc && $(DOLLAR)(MAKE) all ; fi)
+ (if test -f utils/wxrc/Makefile ; then cd utils/wxrc && $(DOLLAR)(MAKE) all ; fi)
</command>
</action>
<action id="clean-wxrc" cond="USE_XRC=='1'">
<dependency-of>clean</dependency-of>
<command>
- (if test -d utils/wxrc ; then cd utils/wxrc && $(DOLLAR)(MAKE) clean ; fi)
+ (if test -f utils/wxrc/Makefile ; then cd utils/wxrc && $(DOLLAR)(MAKE) clean ; fi)
</command>
</action>
<action id="install-wxrc" cond="USE_XRC=='1'">
<dependency-of>install</dependency-of>
<depends>wxrc</depends>
<command>
- (if test -d utils/wxrc ; then cd utils/wxrc && $(DOLLAR)(MAKE) install ; fi)
+ (if test -f utils/wxrc/Makefile ; then cd utils/wxrc && $(DOLLAR)(MAKE) install ; fi)
</command>
</action>
<set var="RCDEFS_H">
<if cond="TOOLKIT=='MSW'">msw/rcdefs.h</if>
</set>
- <headers>
+
+
+ <data-files-tree>
<srcdir>
$(BUILDDIR)/lib/wx/include/$(TOOLCHAIN_FULLNAME)/wx
</srcdir>
<install-to>
$(LIBDIR)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
</install-to>
- </headers>
+ </data-files-tree>
- <headers>
+ <!-- FIXME: make this use <headers> once it supports prefix removal -->
+ <if cond="BAKEFILE_VERSION!='0.2.3'">
+ <warning>is it time to use per-target <headers> now?</warning>
+ </if>
+ <data-files-tree>
<srcdir>$(SRCDIR)/include</srcdir>
<files>$(ALL_HEADERS)</files>
<install-to>
$(INCLUDEDIR)/wx-$(WX_RELEASE)$(WX_FLAVOUR)
</install-to>
- </headers>
+ </data-files-tree>
<!-- Locales: -->
<using module="gettext"/>