[PATCH macros 1/2] doc: Specify minimum asciidoc version to XORG_CHECK_ASCIIDOC

Dan Nicholson dbn.lists at gmail.com
Thu Mar 4 12:36:26 PST 2010

On Thu, Mar 4, 2010 at 12:10 PM, Fernando Carrijo <fcarrijo at yahoo.com.br> wrote:
> Dan Nicholson <dbn.lists at gmail.com> wrote:
>> We need to change libXi to demand 8.4.5. I think the big reason for
>> needing this change is the Ubuntu has 8.4.4 and it doesn't work. So,
>> change libXi to:
>> You should have the doc build skipped in that case. But for the error
>> you're hitting,
> I forgot to mention that in another trial I added a line exactly like
> this one you suggested above to lib/libXi/configure.ac, then removing
> the one which imediatelly preceded it, after presuming that both were
> mutually exclusive. This rendered the following diff:
>  @@ -12,7 +12,7 @@ m4_ifndef([XORG_MACROS_VERSION],
>   AM_CONFIG_HEADER(src/config.h)
>   # Check for progs
> and resulted in this (abridged) output:
>  checking for xmlto... /usr/bin/xmlto
>  ./configure: line 4889: syntax error near unexpected token `8.4.5'
>  ./configure: line 4889: `XORG_CHECK_ASCIIDOC(8.4.5)'
> That reminded me that in this same thread Gaetan suggested the use of
> XORG_WITH_ASCIIDOC([8.4.5]) instead. And after another round of 'make
> distclean' and 'build.sh' I got back to the situation I faced yesterday:
>  Making all in man
>  make[1]: Entering directory `/home/fcarrijo/softwares/repositorio/xorg/lib/libXi/man'
>  /bin/sed -e 's/__xorgversion__/"libXi 1.3" "X Version 11"/' -e 's/__xservername__/Xorg/g' -e 's/__xconfigfile__/xorg.conf/g' -e 's/__appmansuffix__/1/g' -e 's/libmansuffix/3/g' -e 's/__filemansuffix__/5/g' < XAllowDeviceEvents.man > XAllowDeviceEvents.3
>  make[1]: *** No rule to make target `XChangeDeviceDontPropagateList.3', needed by `all-am'.  Stop.
>  make[1]: Leaving directory `/home/fcarrijo/softwares/repositorio/xorg/lib/libXi/man'
>  make: *** [all-recursive] Error 1
> Something tells me that the one-liner comment which follows the
> implementation of the macro XORG_WITH_ASCIIDOC, in xorg-macros.m4 is, in
> the absence of a better word, misleading. But with the knowledge I have
> now about the inner workings of the autotools I dare not to infer much
> more.
>> make[1]: *** No rule to make target
>> `XChangeDeviceDontPropagateList.3', needed by `all-am'.  Stop.
>> I think it's something we fixed in the libXi automake rules a while
>> back. Is this libXi git?
> Yes. HEAD revision of master branch, as of today.

Hmm, it seems like it's actually still trying to build the pages
despite not having the tools. Can you tell me what "grep -e
HAVE_DOCTOOLS -e INSTALL_MANPAGES config.status" gives? What happens
if you do a full "git clean -Xdf" and then start again? It seems like
this would only be happening with stale files.


More information about the xorg-devel mailing list