]> git.saurik.com Git - wxWidgets.git/commitdiff
don't delete samples datafiles, it may be dangerous
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 6 Jul 2003 21:51:34 +0000 (21:51 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 6 Jul 2003 21:51:34 +0000 (21:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/common_samples.bkl

index d12dd210b432d4c83e43d333cc2ccb2b49fa459b..19b7fbf693415761fb6194c0159784f8afc111d7 100644 (file)
@@ -1,8 +1,10 @@
 <?xml version="1.0" ?>
+<!-- $Id$ -->
+
 <makefile>
     
     <include file="common.bkl"/>
-
+    <set var="file_common_samples_included">1</set>
     
     <!-- =============================================================== -->
     <!--                    Template for wxWindows samples:              -->
             <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.
+        
         <define-tag name="files">
             <clean-files>
                 $(' '.join(['$(BUILDDIR)$(DIRSEP)%s'%x for x in value.split()]))
             </clean-files>
         </define-tag>
+        -->
     </define-rule>
 
 </makefile>