bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Acvhieving the equivalent of check-hook?


From: James Youngman
Subject: Acvhieving the equivalent of check-hook?
Date: Sat, 19 May 2007 13:52:26 +0100

I'm currently using Automake-1.10.  The project I am working on
(findutils) uses automake and autoconf.    At the moment there are
some checks that I do for "make dist" which ensure that all DejaGnu
tests are included in the tar file.  I perform that check in
dist-hook.   This works fine, it's the right place to do it.

The software itself is tested with DejaGnu.  That works fine, "make
check" achieves that.  However, there are also some additional checks
I woud like to perform that DejaGnu is not a good fit for.
Specifically, I would like to perform some lint-like checks on the
manpages.   At the moment I have this:-

dist-hook: findutils-check-manpages

findutils-check-manpages:
        $(top_srcdir)/build-aux/man-lint.sh $(srcdir) $(man_MANS)


However, it seems to me that while this check is currently performed
at "make dist" time, the _right_ plase for it is "make check".
However, per Tom Tromey's email in January, there is no "check-hook".

Is there a way to augment rather than replace the automatic rule for
DejaGnu tests so that I can also invoke findutils-check-manpages?
(for the curious, man-lint.sh simply checks that groff emits no error
messages while formatting the manual pages).

TIA,
James




reply via email to

[Prev in Thread] Current Thread [Next in Thread]