On 16 October 2010 05:44, Teck Choon Giam <[email protected]> wrote:
>> Thanks Michael :) I will give it a go and report back if not working.
>
> Unfortunately it didn't work and I tried with git-1.7.3.1 instead :(
>
> make ASCIIDOC8=YesPlease ETC_GITCONFIG=/etc/gitconfig prefix=/usr
> mandir=/usr/share/man htmldir=/usr/share/doc/git-1.7.3.1
> libdir=/usr/lib all doc
>
> And error:
>
> ASCIIDOC git-merge-one-file.html
> ASCIIDOC git-mergetool--lib.html
> asciidoc: WARNING: git-mergetool--lib.txt: line 2: blank section title
> asciidoc: ERROR: git-mergetool--lib.txt: line 2: malformed manpage title
> make[1]: *** [git-mergetool--lib.html] Error 1
> make[1]: Leaving directory `/builddir/build/BUILD/git-1.7.3.1/Documentation'
> make: *** [doc] Error 2
>
> Line 2 is all ==========================
>
> cat Documentation/git-mergetool--lib.txt | head -n 2
> git-mergetool{litdd}lib(1)
> ==========================
>
> From Documentation/Makefile:
>
> ifdef ASCIIDOC8
> ASCIIDOC_EXTRA += -a asciidoc7compatible -a no-inline-literal
> endif
> ifdef DOCBOOK_XSL_172
> ASCIIDOC_EXTRA += -a git-asciidoc-no-roff
> MANPAGE_XSL = manpage-1.72.xsl
> else
> ifdef ASCIIDOC_NO_ROFF
> # docbook-xsl after 1.72 needs the regular XSL, but will not
> # pass-thru raw roff codes from asciidoc.conf, so turn them off.
> ASCIIDOC_EXTRA += -a git-asciidoc-no-roff
> endif
> endif
>
> So as long as ASCIIDOC8 is being set and not necessary must be
> YesPlease. I also tried with:
>
> make ASCIIDOC8=YesPlease ASCIIDOC_NO_ROFF=1 V=1
> ETC_GITCONFIG=/etc/gitconfig prefix=/usr mandir=/usr/share/man
> htmldir=/usr/share/doc/git-1.7.3.1 libdir=/usr/lib all doc
>
> And error below:
>
> rm -f git-mergetool--lib.html+ git-mergetool--lib.html && \
> asciidoc -b xhtml11 -d manpage -f asciidoc.conf \
> -a asciidoc7compatible -a no-inline-literal -a
> git-asciidoc-no-roff
> -agit_version=1.7.3.1 -o git-mergetool--lib.html+
> git-mergetool--lib.txt && \
> mv git-mergetool--lib.html+ git-mergetool--lib.html
> asciidoc: WARNING: git-mergetool--lib.txt: line 2: blank section title
> asciidoc: ERROR: git-mergetool--lib.txt: line 2: malformed manpage title
> make[1]: *** [git-mergetool--lib.html] Error 1
> make[1]: Leaving directory `/builddir/build/BUILD/git-1.7.3.1/Documentation'
> make: *** [doc] Error 2
>
> So as you can see the -a asciidoc7compatible -a no-inline-literal is
> there due to ASCIIDOC8 is set but still error :(
>
There is a change in 8.6.2 that delayed loading some config files
until after the header, meaning that {litdd} may not be defined.
Could you try 8.6.1? If it works the above change may have to be
reverted by the asciidoc7compatible option.
Cheers
Lex
> Thanks.
>
> Kindest regards,
> Giam Teck Choon
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/asciidoc?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.