[pacman-dev] [PATCH] configure.ac : disable doc by default and check for asciidoc

Xavier Chantry chantry.xavier at gmail.com
Tue Mar 16 00:13:26 CET 2010

On Mon, Mar 15, 2010 at 11:58 PM, Allan McRae <allan at archlinux.org> wrote:
> On 16/03/10 08:53, Xavier Chantry wrote:
>> We cannot do a strict check for asciidoc because released source tarballs
>> have man pages already built, and it should be possible to install them
>> without having asciidoc.
>> This patch attempts to improve the situation in two ways :
>> 1) disable doc by default
>> 2) print a warning if docs are enabled but asciidoc is not installed
> Should that be a warning or an error? I think it would be much better to
> fail during the configure.

See the first paragraph 'We cannot do a strict check..'
It is a very stupid problem..

Maybe a solution would be to have a strict asciidoc checking by
default, and add a configure option to skip that check (and maybe
building of docs but not install).
Then we could also keep docs enabled by default.

More information about the pacman-dev mailing list