Hello,
it looks like it's impossible to dist or distcheck automake after a
fresh checkout, one has to run make all first.
mkdir automake && cd automake
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/sources/automake co .
cd automake
mkdir _build && cd _build
../configure
make distcheck
[...]
make[1]: Entering directory
`/Users/tsuna/svn/cvs/automake/automake/_build/doc'
PATH="`pwd`/../tests:$PATH" && \
export PATH && \
cd ../../doc/amhello && \
ACLOCAL=aclocal-1.10a AUTOMAKE=automake-1.10a \
autoreconf -vfi && \
./configure && \
make distcheck && \
make distclean && \
rm -rf aclocal.m4 autom4te.cache Makefile.in config.h.in
configure depcomp install-sh missing src/Makefile.in && \
mv amhello-1.0.tar.gz ..
/Users/tsuna/svn/cvs/automake/automake/_build/doc/../tests/aclocal-1.10a: line
17: /Users/tsuna/svn/cvs/automake/automake/_build/aclocal: No such
file or directory
/Users/tsuna/svn/cvs/automake/automake/_build/doc/../tests/aclocal-1.10a: line
17: exec: /Users/tsuna/svn/cvs/automake/automake/_build/aclocal:
cannot execute: No such file or directory
/Users/tsuna/svn/cvs/automake/automake/_build/doc/../tests/automake-1.10a:
line 15: /Users/tsuna/svn/cvs/automake/automake/_build/automake: No
such file or directory
/Users/tsuna/svn/cvs/automake/automake/_build/doc/../tests/automake-1.10a:
line 15: exec: /Users/tsuna/svn/cvs/automake/automake/_build/automake:
cannot execute: No such file or directory
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal-1.10a --output=aclocal.m4t
/Users/tsuna/svn/cvs/automake/automake/_build/doc/../tests/aclocal-1.10a: line
17: /Users/tsuna/svn/cvs/automake/automake/_build/aclocal: No such
file or directory
/Users/tsuna/svn/cvs/automake/automake/_build/doc/../tests/aclocal-1.10a: line
17: exec: /Users/tsuna/svn/cvs/automake/automake/_build/aclocal:
cannot execute: No such file or directory
autoreconf: aclocal-1.10a failed with exit status: 126
make[1]: *** [../../doc/amhello-1.0.tar.gz] Error 126
make[1]: Leaving directory `/Users/tsuna/svn/cvs/automake/automake/_build/doc'
make: *** [distdir] Error 1
I attempted to fix this minor inconvenience but ended up with strange
problems with amhello which would be distributed in doc.tar.gz instead
of amhello-
VERSION.tar.gz and finally gave up (lack of time).
Index: Makefile.am
===================================================================
RCS file: /sources/automake/automake/Makefile.am,v
retrieving revision 1.249
diff -u -r1.249 Makefile.am
--- Makefile.am 21 Aug 2006 04:25:35 -0000 1.249
+++ Makefile.am 14 Jun 2007 11:36:47 -0000
@@ -385,3 +385,5 @@
test $$stat = 0 || \
echo "See Fetchdir/update.patch for a log of the changes."; \
exit $$stat
+
+dist-hook: aclocal automake
Index: lib/Automake/Makefile.am
===================================================================
RCS file: /sources/automake/automake/lib/Automake/Makefile.am,v
retrieving revision 1.23
diff -u -r1.23 Makefile.am
--- lib/Automake/Makefile.am 23 Mar 2006 06:35:15 -0000 1.23
+++ lib/Automake/Makefile.am 14 Jun 2007 11:36:48 -0000
@@ -68,4 +68,6 @@
chmod a-w Config.tmp
mv -f Config.tmp Config.pm
+dist-hook: Config.pm
+
EXTRA_DIST = Config.in
Cheers,
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.