THRIFT-1074 .keystore and .truststore are missing from the 0.6.0 distribution
- new tar format for dist files: tar-ustar POSIX 1003.1-1988
- adds .XYZ files not in the excluded build list to the dist tar.gz file
Patch: Jake Farrell


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1084724 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/Makefile.am b/Makefile.am
index 6452276..abe87da 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,7 +22,9 @@
 SUBDIRS = compiler/cpp lib test
 
 dist-hook:
-	find $(distdir) -name '.[a-zA-Z0-9]*' | xargs rm -rf
+	find $(distdir) -type f \( -iname ".deps" -or -iname ".libs" -or -iname ".gitignore" \
+		-or -iname ".DS_Store" -or -iname "._*" \) | xargs rm -rf
+	find $(distdir) -type d \( -iname ".svn" -or -iname ".git" \) | xargs rm -rf
 
 print-version:
 	@echo $(VERSION)
diff --git a/configure.ac b/configure.ac
index 0501471..82318ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 
 AC_CONFIG_AUX_DIR([.])
 
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([1.9 tar-ustar])
 PKG_PROG_PKG_CONFIG
 
 AC_ARG_VAR([PY_PREFIX], [Prefix for installing Python modules.