Author: dreiss
Date: Thu Mar 26 08:47:07 2009
New Revision: 758560

URL: http://svn.apache.org/viewvc?rev=758560&view=rev
Log:
THRIFT-389. Make "make dist" work properly for Subversion working copies

Modified:
    incubator/thrift/trunk/Makefile.am

Modified: incubator/thrift/trunk/Makefile.am
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/Makefile.am?rev=758560&r1=758559&r2=758560&view=diff
==============================================================================
--- incubator/thrift/trunk/Makefile.am (original)
+++ incubator/thrift/trunk/Makefile.am Thu Mar 26 08:47:07 2009
@@ -1,7 +1,9 @@
 ACLOCAL_AMFLAGS = -I ./aclocal
 
 SUBDIRS = compiler/cpp lib test
-## Don't run make dist from a subversion working copy
-## because it will pull in your .svn directories.
+
+dist-hook:
+       find $(distdir) -name '.[a-zA-Z0-9]*' | xargs rm -rf
+
 EXTRA_DIST = bootstrap.sh cleanup.sh print_version.sh doc tutorial contrib \
              CONTRIBUTORS LICENSE


Reply via email to