[xiph-commits] r15379 - trunk/theora

j at svn.xiph.org j at svn.xiph.org
Tue Oct 7 05:01:36 PDT 2008


Author: j
Date: 2008-10-07 05:01:35 -0700 (Tue, 07 Oct 2008)
New Revision: 15379

Modified:
   trunk/theora/Makefile.am
Log:
remove all .svn folders from distdir

Modified: trunk/theora/Makefile.am
===================================================================
--- trunk/theora/Makefile.am	2008-10-07 11:29:36 UTC (rev 15378)
+++ trunk/theora/Makefile.am	2008-10-07 12:01:35 UTC (rev 15379)
@@ -24,14 +24,9 @@
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = theora.pc theoradec.pc theoraenc.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