From: Alexandre Duret-Lutz Date: Tue, 20 Jan 2004 21:57:42 +0000 (+0000) Subject: * doc/automake.texi (Dist): Document limitations of distcheck-hook X-Git-Tag: Release-1-8b~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3c7294d3291f61ddb93880638464c522154b63a;p=thirdparty%2Fautomake.git * doc/automake.texi (Dist): Document limitations of distcheck-hook and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and subpackages. --- diff --git a/ChangeLog b/ChangeLog index 040355271..32b381eb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-20 Ralf Wildenhues (tiny change) + + * doc/automake.texi (Dist): Document limitations of distcheck-hook + and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and + subpackages. + 2004-01-20 Alexandre Duret-Lutz * doc/automake.texi (Upgrading): New node. diff --git a/doc/automake.texi b/doc/automake.texi index ae2ae5589..1f517396f 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -5365,13 +5365,17 @@ to supply additional flags to @code{configure}, define them in the @file{Makefile.am}, or on the command line when invoking @code{make}. @vindex DISTCHECK_CONFIGURE_FLAGS -If the @code{distcheck-hook} rule is defined in your +If the @code{distcheck-hook} rule is defined in your top-level @file{Makefile.am}, then it will be invoked by @code{distcheck} after the new distribution has been unpacked, but before the unpacked copy is configured and built. Your @code{distcheck-hook} can do almost anything, though as always caution is advised. Generally this hook is used to check for potential distribution errors not caught by the -standard mechanism. +standard mechanism. Note that @code{distcheck-hook} as well as +@code{DISTCHECK_CONFIGURE_FLAGS} are not honored in a subpackage +@file{Makefile.am}, but the @code{DISTCHECK_CONFIGURE_FLAGS} are +passed down to the @code{configure} script of the subpackage. + Speaking about potential distribution errors, @code{distcheck} will also ensure that the @code{distclean} rule actually removes all built