aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_tools
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-10-05 01:56:25 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-10-05 01:56:25 -0700
commit09ff1e7af00bb168bdfa296bcafb7f034b5b6da1 (patch)
treee164d341815bef5e7550c1623a9da4ef7374c1e1 /build_tools
parentad5ae9ba3b2107ac68f55ead4c7292cd1de23fc1 (diff)
Update make_tarball.sh to work on Darwin
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/make_tarball.sh6
1 files changed, 4 insertions, 2 deletions
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