On Nov 2, 2007, at 5:08 PM, Ralf Wildenhues wrote:
Hello Benoit, * Benoit SIGOURE wrote on Fri, Nov 02, 2007 at 03:07:23AM CET:Anyways, I must have b0rken something at some point, because now when I`make distcheck', I get: make[3]: Entering directory `/Users/tsuna/svn/git/boost.m4/_build/boost-m4-test-0.1/_build/tests' /bin/sh/Users/tsuna/svn/git/boost.m4/_build/boost-m4-test-0.1/build-aux/ missing--run autom4te --language=autotest -I '../../tests' ../../tests/testsuite.at -o ../../tests/testsuite.tmp autom4te: cannot open ../../tests/testsuite.tmp: Permission denied make[3]: *** [../../tests/testsuite] Error 1The rule is that no distributed files can depend on undistributed ones.So if you ship `testsuite', then ship package.m4 as well. If you ship package.m4, then it should not depend on config.status or Makefile (the manual shows an example where it depends on configure.ac only.)
Indeed. In fact the fix was trivial: diff --git a/tests/Makefile.am b/tests/Makefile.am index 0532b4b..fdf7dfc 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -30,7 +30,7 @@ clean-local: AUTOTEST = $(AUTOM4TE) --language=autotest -$(TESTSUITE): package.m4 $(srcdir)/testsuite.at +$(TESTSUITE): $(srcdir)/package.m4.in $(srcdir)/testsuite.at $(AUTOTEST) -I '$(srcdir)' $@.at -o $@.tmp mv $@.tmp $@
so my guess is that it's related to the fact that I chose to generate`package.m4' with config.status (it's an AC_CONFIG_FILES) instead of havingit depend on `Makefile' as shown in the Autoconf manual.I don't see where you read that.
Hmm... It's in autoconf itself that package.m4 depends on Makefile. Probably not a good idea. I must have done too much copying/pasting.
Thanks! -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf