You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/03/26 09:47:11 UTC

svn commit: r758560 - /incubator/thrift/trunk/Makefile.am

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