[xiph-commits] r15813 - branches/theora-thusnelda

giles at svn.xiph.org giles at svn.xiph.org
Fri Mar 20 23:55:22 PDT 2009


Author: giles
Date: 2009-03-20 23:55:22 -0700 (Fri, 20 Mar 2009)
New Revision: 15813

Modified:
   branches/theora-thusnelda/Makefile.am
Log:
Improve .svn removal when making source distributions.

Corresponds to r15379 of trunk.


Modified: branches/theora-thusnelda/Makefile.am
===================================================================
--- branches/theora-thusnelda/Makefile.am	2009-03-21 06:51:21 UTC (rev 15812)
+++ branches/theora-thusnelda/Makefile.am	2009-03-21 06:55:22 UTC (rev 15813)
@@ -24,14 +24,9 @@
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = theora.pc
 
+# Remove the .svn folders included in the tarball
 dist-hook:
-	for item in $(EXTRA_DIST); do \
-	  if test -d $$item; then \
-	    echo -n "cleaning $$item dir for distribution..."; \
-	    rm -rf `find $(distdir)/$$item -name .svn`; \
-	    echo "OK"; \
-	  fi; \
-	done
+	find $(distdir) -type d -name '.svn' | xargs rm -rf
 
 debug:
 	$(MAKE) all CFLAGS="@DEBUG@"



More information about the commits mailing list