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

Jeff jeff at kcaccess.com
Tue Mar 16 19:02:13 CET 2010

On Tue, Mar 16, 2010 at 11:54:11AM +1000, Allan McRae wrote:
> I really do not like --disable-doc being the default for releases so I 
> was hopeful there was something we could utilize to distinguish between 
> git and release sources.  However, on further investigation, I can not 
> see anything in configure.ac that is suitable.  Adding anything would 
> require an extra step for release so I am not really sure what to do.

Please excuse any misunderstanding I might be having (or moment of
senility) :)

If a person has Arch installed, there is almost a guarantee that pacman
is installed. So if they want to compile pacman for whatever reason, it
would be reasonable to expect them to use the PKGBUILD (with or without
modification). The PKGBUILD can have a makedepends on asciidoc.

For any other non-PKGBUILD scenario, the lack of asciidoc should cause a
configure error (not just a warning) with a note to install asciidoc or
use --disable-doc.  The reason I say "should" is because I assume that a
proper (in the eyes of the developers) install of their package includes
documentation. If it does not, then --disable-docs should be the


My other computer is an abacus.

More information about the pacman-dev mailing list