2001-05-06 Tom Tromey <tromey@redhat.com>
+ * automake.texi (Dist): Document distcheck-hook.
+
* tests/confh4.test: Updated to reflect DEFS change.
For PR automake/132.
@code{distcheck} makes a distribution, and then tries to do a
@code{VPATH} build.
@trindex distcheck
-@c FIXME: document distcheck-hook here
+
+If the target @code{distcheck-hook} is defined in your
+@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.
@node Tests, Options, Dist, Top