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

Re: Building Documentation in Cygwin

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Jan 27, 2009, 16:32 UTC
Message-ID
<be6fef0d0901270832o1a176691nab5500a86c531795@mail.gmail.com>
In-Reply-To
<c115fd3c0901270741h2f213b99s31bac8829bd182c2@mail.gmail.com>
Hi,
On Tue, Jan 27, 2009 at 11:41 PM, Tim Visher <tim.visher@gmail.com> wrote:
Show 24 quoted lines
>    $ make install-man
>    rm -f doc.dep+ doc.dep
>    /usr/bin/perl ./build-docdep.perl >doc.dep+
>    mv doc.dep+ doc.dep
>    make -C ../ GIT-VERSION-FILE
>    make[1]: Entering directory `/cygdrive/c/Documents and
> Settings/tvishe01/Desktop/Projects/git'
>    make[1]: `GIT-VERSION-FILE' is up to date.
>    make[1]: Leaving directory `/cygdrive/c/Documents and
> Settings/tvishe01/Desktop/Projects/git'
>    make -C ../ GIT-VERSION-FILE
>    make[1]: Entering directory `/cygdrive/c/Documents and
> Settings/tvishe01/Desktop/Projects/git'
>    make[1]: `GIT-VERSION-FILE' is up to date.
>    make[1]: Leaving directory `/cygdrive/c/Documents and
> Settings/tvishe01/Desktop/Projects/git'
>    rm -f git-add.xml+ git-add.xml
>    asciidoc -b docbook -d manpage -f asciidoc.conf \
>                     -agit_version=1.6.1.1.230.gdfb04 -o git-add.xml+
> git-add.txt
>    mv git-add.xml+ git-add.xml
>    rm -f git-add.1
>    xmlto -m callouts.xsl man git-add.xml
>    xmlto: input does not validate (status 3)
hmm i tried running this and this rule passed for me.
try running xmlto in verbose, what does it output? here's mine:
---cut---
$ xmlto -v -m callouts.xsl man git-add.xml
Format script: /usr/share/xmlto/format/docbook/man
Convert to troff
Real stylesheet:
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
xmllint >/dev/null --xinclude --postvalid
/cygdrive/g/temp/git/git/Documentation/git-add.xml
Stylesheet: /tmp/xmlto-xsl.nEUjsh
xsltproc --nonet --xinclude \
 -o /tmp/xmlto.MvioXw/git-add.proc \
 /tmp/xmlto-xsl.nEUjsh \
 /cygdrive/g/temp/git/git/Documentation/git-add.xml
Writing git-add.1 for refentry
---cut---
you might also want to try getting the cygwin package docbook-xml42.
-- 
Cheers,
Ray Chuan
Previous: Tim VisherNext: Tim Visher
Message 2 of 7 in “Building Documentation in Cygwin”
  1. Tim VisherJan 27, 2009
  2. Tay Ray ChuanJan 27, 2009
  3. Tim VisherJan 27, 2009
  4. Tim VisherJan 27, 2009
  5. Junio C HamanoJan 27, 2009
  6. Tim VisherJan 27, 2009
  7. Junio C HamanoJan 27, 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.