Dan Nicholson <[email protected]> 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: > > XORG_CHECK_ASCIIDOC([8.4.5]) > > 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], XORG_MACROS_VERSION(1.5) XORG_DEFAULT_OPTIONS XORG_WITH_XMLTO -XORG_WITH_ASCIIDOC +XORG_CHECK_ASCIIDOC([8.4.5]) 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. > > -- > Dan Dan, if you are in lack of time to tackle this, I will have no problem to update to a more recent version of asciidoc, or better, go read the sources and the manual of autoconf. On the other hand, if time is not against you, I'll be open to suggestions. _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
