From 396702aabf67453d4151d9e5fadfd01edf7e053b Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Thu, 24 Sep 2015 07:53:38 +0200 Subject: [PATCH] build/ops: make dist needs files with names > 99 characters When running make distdir=ceph-9.0.3-1870-gfd861bb dist, a few files have names longer than 99 characters and discarded, which then causes the resulting tarbal to be incomplete: tar: ceph-9.0.3-1870-gfd861bb/src/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.cc: file name is too long (max 99); not dumped tar: ceph-9.0.3-1870-gfd861bb/src/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.h: file name is too long (max 99); not dumped Use the tar-ustar format instead of the legacy v7 format (http://www.gnu.org/software/automake/manual/automake.html#Options). It is unlikely machines with a C++11 compiler also have an antique tar binary that would only support v7. Signed-off-by: Loic Dachary --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3e20affe674d..9bef7677be28 100644 --- a/configure.ac +++ b/configure.ac @@ -46,13 +46,12 @@ AC_CANONICAL_TARGET m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # Automake -AM_INIT_AUTOMAKE AM_PROG_CC_C_O AM_PROG_LIBTOOL AM_PROG_AS -AM_INIT_AUTOMAKE([foreign parallel-tests]) +AM_INIT_AUTOMAKE([foreign parallel-tests tar-ustar]) # enable make V=0 (if automake >1.11) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) -- 2.47.3