diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-19 01:03:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-19 01:03:28 +0000 |
commit | f7ffcb59df65215209175e0645354f1161e2f3ee (patch) | |
tree | c8b571d0b4c37fe3af0acd208840f81d36f69501 | |
parent | src/sandbox.h: add missing header (diff) | |
download | sandbox-f7ffcb59df65215209175e0645354f1161e2f3ee.tar.gz sandbox-f7ffcb59df65215209175e0645354f1161e2f3ee.tar.bz2 sandbox-f7ffcb59df65215209175e0645354f1161e2f3ee.zip |
svn2cl: run during `make dist` rather than `./autogen.sh`
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | Makefile.am | 4 | ||||
-rwxr-xr-x | autogen.sh | 18 | ||||
-rwxr-xr-x | scripts/svn2cl (renamed from scripts/svn2cl.sh) | 0 |
3 files changed, 8 insertions, 14 deletions
diff --git a/Makefile.am b/Makefile.am index d6f56da..627e64d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,3 +12,7 @@ libsandbox: libsbutil src: libsbutil EXTRA_DIST = localdecls.h ChangeLog.0 + +dist-hook: + PATH="$${PATH}:./scripts" svn2cl + cp ChangeLog $(distdir) @@ -1,19 +1,9 @@ -#!/bin/bash +#!/bin/bash -e -# Generate Changelog by default if we in svn repository -if [[ -d .svn && $1 != -n ]] ; then - # For some reason svn do not give the full log if we do not - # update first ... - svn update - ./scripts/svn2cl.sh -fi +# we'll generate ChangeLog when doing `make dist` +touch ChangeLog -aclocal-1.9 || exit 1 -libtoolize --automake -c -f || exit 1 -aclocal-1.9 || exit 1 -autoconf || exit 1 -autoheader || exit 1 -automake-1.9 -a -c || exit 1 +autoreconf -i -f if [[ -x ./test.sh ]] ; then exec ./test.sh "$@" diff --git a/scripts/svn2cl.sh b/scripts/svn2cl index 06eba0e..06eba0e 100755 --- a/scripts/svn2cl.sh +++ b/scripts/svn2cl |