Pádraig Brady wrote:
> Related to checking man pages I noticed this error:
>
> ~/git/coreutils/man$ make check-programs-vs-x
>   GEN    check-programs-vs-x
> missing libstdbuf.so.x
> make: *** [check-programs-vs-x] Error 1
>
> "check-programs-vs-x" is called with "distcheck-hook"
> so I'm unsure of exactly why this failure is not being triggered.
> Anyway this should fix it:
>
> diff a/src/Makefile.am b/src/Makefile.am
>  all_programs.list:
>         @echo $(all_programs) | tr ' ' '\n' | sed -e 's,$(EXEEXT)$$,,' \
> +         | sed /libstdbuf/d \
>           | $(ASSORT) -u

That patch looks fine.

> I was also wondering about calling "check-programs-vs-x"
> from syntax-check instead of dist-check?

Thanks for pointing that out!
I've just looked it up in the automake documentation, and see that a
distcheck-hook rule is recognized only if it's in the top-level directory.


Reply via email to