From 09ff1e7af00bb168bdfa296bcafb7f034b5b6da1 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 5 Oct 2013 01:56:25 -0700 Subject: Update make_tarball.sh to work on Darwin --- build_tools/make_tarball.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build_tools') diff --git a/build_tools/make_tarball.sh b/build_tools/make_tarball.sh index 2c3a0ac1..f16171d1 100755 --- a/build_tools/make_tarball.sh +++ b/build_tools/make_tarball.sh @@ -33,14 +33,16 @@ rm -f "$path" "$path".gz git archive --format=tar --prefix="$prefix"/ master > "$path" # tarball out the documentation, generate a configure script and version file -autoreconf +# Don't use autoreconf since it invokes commands that may not be installed, like aclocal +# Don't run autoheader since configure.ac runs it. autoconf is enough. +autoconf ./configure --with-doxygen make user_doc share/man echo $VERSION > version cd /tmp rm -f "$prefix" ln -s "$wd" "$prefix" -TAR_APPEND="gnutar --append --file=$path --mtime=now --owner=root --group=root --mode=g+w,a+rX" +TAR_APPEND="gnutar --append --file=$path --mtime=now --owner=0 --group=0 --mode=g+w,a+rX" $TAR_APPEND --no-recursion "$prefix"/user_doc $TAR_APPEND "$prefix"/user_doc/html "$prefix"/share/man $TAR_APPEND "$prefix"/version -- cgit v1.2.3