git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: asciidoc, was Re: Chicken/egg problem building from a 'git clone'

From
John Tapsell <johnflux@gmail.com>
Date
Mar 6, 2009, 13:39 UTC
Message-ID
<43d8ce650903060539q5a189543g4ef51dac0ba2e6a3@mail.gmail.com>
In-Reply-To
<200903061415.50746.jnareb@gmail.com>
2009/3/6 Jakub Narebski <jnareb@gmail.com>:
Show 28 quoted lines
> On Fri, 6 March 2009, John Tapsell wrote:
>> 2009/3/6 Johannes Schindelin <Johannes.Schindelin@gmx.de>:
>>> On Fri, 6 Mar 2009, John Tapsell wrote:
>>>> 2009/3/6 Johannes Schindelin <Johannes.Schindelin@gmx.de>:
>>>>> On Fri, 6 Mar 2009, Jakub Narebski wrote:
>
>>>>>> However while toolchain needed to produce documentation (asciidoc +
>>>>>> xmlto) isn't, I think, something very common, in my opinion autoconf is
>>>>>> something that is present on systems containing other build tools
>>>>>> required to build git from sources.  So 'configure' branch is not, I
>>>>>> think, as necessary as 'html' and 'man' branches; additionally 'html'
>>>>>> branch (or the repository used to build documentation, or the byproduct
>>>>>> of building documentation) is used to generate on-line docs for git.
>>>>>
>>>>> Plus, keep in mind that autoconf support is only an afterthought in Git;
>>>>> Just running "make" is supposed to work.  If it does not, patches are
>>>>> certainly welcome, I think.
>>>>
>>>> Well now that you mention it.. :-)
>>>>
>>>> It doesn't check for the existance of asciidoc, but blindly assumes it
>>>> exists.  And even if you do have asciidoc, there's a good chance that
>>>> you have the wrong version.   The INSTALL file says that asciidoc
>>>> requires 8.2.7 but most distros (debian, ubuntu.  probably other) have
>>>> 8.2.6.
>
> Do you mean here Makefile checks, or do you mean ./configure checking
> for existing asciidoc toolchain, and for asciidoc version?

Well presumably both would have to check, since you can run make without configure. I just figured starting with configure would be easiest.

Show 17 quoted lines
>
>>>> If you compile the docs with the wrong asciidoc version, there is no
>>>> warning or error at all.  It just builds incorrect man pages.
>>>
>>> Frankly, I was talking about "make".  I never needed asciidoc there.
>>>
>>> Besides, if it is really an itch of yours, maybe you can come up with a
>>> patch checking for a correct asciidoc version?  Only if asciidoc would be
>>> needed at all, of course.
>>
>> Yep.  I've been looking at it for the last half hour, but configure.ac
>> syntax defeats me :-D   (I figured getting the check into configure.ac
>> would be a good first start)
>
> Errr... doesn't configure.ac have checking for asciidoc version? Search
> for AC_CHECK_PROGS(ASCIIDOC, [asciidoc]). Perhaps tests should be more
> detailed, or something...

Yeah I saw that - it checks if you have version 7.* or 8.*. I just don't know how to check if the version is >= .8.2.7.

John
Previous: Jakub NarebskiNext: Björn Steinbrink
Message 27 of 31 in “Chicken/egg problem building from a 'git clone'”
  1. Joi EllisFeb 6, 2009
  2. Johannes SchindelinFeb 6, 2009
  3. Joi EllisFeb 6, 2009
  4. Miles BaderFeb 6, 2009
  5. Junio C HamanoFeb 6, 2009
  6. Miles BaderFeb 6, 2009
  7. Junio C HamanoFeb 6, 2009
  8. Miles BaderFeb 6, 2009
  9. Junio C HamanoFeb 6, 2009
  10. Miles BaderFeb 6, 2009
  11. Jeff KingFeb 6, 2009
  12. Junio C HamanoFeb 6, 2009
  13. Joi EllisMar 1, 2009
  14. Björn SteinbrinkMar 1, 2009
  15. Andreas EricssonMar 5, 2009
  16. John TapsellMar 5, 2009
  17. Jeff KingMar 5, 2009
  18. Matthieu MoyMar 5, 2009
  19. Jeff KingMar 5, 2009
  20. Jakub NarebskiMar 6, 2009
  21. Matthieu MoyMar 6, 2009
  22. Johannes SchindelinMar 6, 2009
  23. John TapsellMar 6, 2009
  24. asciidoc, was Re: Chicken/egg problem building from a 'git clone'Johannes Schindelin, Mar 6, 2009
  25. John TapsellMar 6, 2009
  26. Jakub NarebskiMar 6, 2009
  27. John TapsellMar 6, 2009
  28. Björn SteinbrinkFeb 6, 2009
  29. Johannes SchindelinFeb 6, 2009
  30. Björn SteinbrinkFeb 6, 2009
  31. Daniel BarkalowFeb 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.