Author: sebor
Date: Fri Aug 26 16:09:54 2005
New Revision: 240360

URL: http://svn.apache.org/viewcvs?rev=240360&view=rev
Log:
2005-08-26  Martin Sebor  <[EMAIL PROTECTED]>

        * makefile.common (ALL_FILES): Used the -prune option to
        avoid finding files in hidden subdirectories such as .svn/.


Modified:
    incubator/stdcxx/trunk/etc/config/makefile.common

Modified: incubator/stdcxx/trunk/etc/config/makefile.common
URL: 
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/makefile.common?rev=240360&r1=240359&r2=240360&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/makefile.common (original)
+++ incubator/stdcxx/trunk/etc/config/makefile.common Fri Aug 26 16:09:54 2005
@@ -1,6 +1,6 @@
 # -*- Makefile -*-
 #
-# $Id: //stdlib/dev/etc/stdlib/config/makefile.common#23 $
+# $Id$
 #
 # common makefile definitions shared by all GNUmakefile.*
 #
@@ -22,7 +22,8 @@
 ifeq ($(ONE_REPOSITORY),)
 
   # traverse all subdirectories and get the names of all regular files
-  ALL_FILES = $(shell $(FIND) $(SRCDIRS) -type f -print)
+  # avoiding any hidden subdirectories
+  ALL_FILES = $(shell $(FIND) $(SRCDIRS) -type f -o -name ".*" -prune)
 
   ifneq ($(CXX_REPOSITORY),)
 


Reply via email to