git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: Fix build failure of docs.
@ 2009-07-28 15:38 Saikiran Madugula
  2009-07-28 16:02 ` Thomas Rast
  0 siblings, 1 reply; 5+ messages in thread
From: Saikiran Madugula @ 2009-07-28 15:38 UTC (permalink / raw)
  To: git; +Cc: Saikiran Madugula

This patch fixes the build failure due to what seems to be extraneous
characters, "+++" in the git-filter-branch.txt file.

$make man

...

ASCIIDOC git-filter-branch.xml
    XMLTO git-filter-branch.1
xmlto: input does not validate (status 1)
/home/bobthe/git.kernel.org/git/Documentation/git-filter-branch.xml:435:
parser error : PCDATA invalid Char value 7
Clone it with <literal>git clone +++0+++</literal>.  The clone
                                    ^
/home/bobthe/git.kernel.org/git/Documentation/git-filter-branch.xml:435:
parser error : PCDATA invalid Char value 7
Clone it with <literal>git clone +++0+++</literal>.  The clone
                                      ^
make[1]: *** [git-filter-branch.1] Error 1
make[1]: Leaving directory
`/home/bobthe/git.kernel.org/git/Documentation'
make: *** [man] Error 2

...

Signed-off-by: Saikiran Madugula <hummerbliss@gmail.com>
---
 Documentation/git-filter-branch.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt
index ab527b5..8a261c7 100644
--- a/Documentation/git-filter-branch.txt
+++ b/Documentation/git-filter-branch.txt
@@ -364,7 +364,7 @@ objects until you tell it to.  First make sure that:
 Then there are two ways to get a smaller repository.  A safer way is
 to clone, that keeps your original intact.
 
-* Clone it with `git clone +++file:///path/to/repo+++`.  The clone
+* Clone it with `git clone file:///path/to/repo`.  The clone
   will not have the removed objects.  See linkgit:git-clone[1].  (Note
   that cloning with a plain path just hardlinks everything!)
 
-- 
1.5.6.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* Re: [PATCH] Documentation: Fix build failure of docs.
@ 2009-07-28 16:39 Saikiran Madugula
  2009-07-28 18:03 ` Michael J Gruber
  0 siblings, 1 reply; 5+ messages in thread
From: Saikiran Madugula @ 2009-07-28 16:39 UTC (permalink / raw)
  To: Thomas Rast; +Cc: git

OOps, forgot to cc vger.kernel.org

Thomas Rast wrote:
> NAK.  Presumably you are using an asciidoc 8.x?  Please check if
> saying
> 
>   make ASCIIDOC8=Yes man
> 
> fixes the problem.  Read the comments in Documentation/Makefile for
> advice on what precise combination of options you should use.  Also,
> if you do not want to actually work on docs
> 
>   make quick-install-man
> 
> is a much less painful way to get manpages (in this case, from Junio's
> 'man' branch that has preformatted manpages for 'master').

My asciidoc version is 8.4.1. Yes "make ASCIIDOC8=yes" seems to have built with
out any problems. Thanks for quick-install-man tip, I should have read till the
end of INSTALL document  :) .
> 
> I put the +++ in there to stop the version I used at the time from
> rendering the closing backtick as part of the URL and garbling the
> entire paragraph in the process.  To be precise, with asciidoc 8.2.7
> and without the +++ I get
> 
>   Clone it with <tt>git clone <a href="file:///path/to/repo</tt">file:///path/to/repo</tt</a>>.
> 
> in the HTML output.  Note the nested tags.  (With asciidoc 8.4.5 the
> problem appears to be fixed.)
> 

People would start using latest versions of ascii doc which has no problems,
wouldn't it be better if the default compile options suit them ? Also, it would
be good if "make install man", would do "quick-install-man" as default to
prevent users from the painful compilation of manpages everytime they try to
install latest git.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-29  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 15:38 [PATCH] Documentation: Fix build failure of docs Saikiran Madugula
2009-07-28 16:02 ` Thomas Rast
  -- strict thread matches above, loose matches on Subject: below --
2009-07-28 16:39 Saikiran Madugula
2009-07-28 18:03 ` Michael J Gruber
2009-07-29  9:09   ` Saikiran Madugula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).