summaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorTeemu Likonen <tlikonen@iki.fi>2008-12-29 08:03:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-12-29 08:40:10 (GMT)
commit9c6c304d6a01b72d7ce20722b80ca62e01fe8356 (patch)
tree4afcf9a56e11ccfb4d308b130f4a06fc360e2691 /Documentation/Makefile
parent8b30ad01b421213113c64a1d3e46dcd8791d88df (diff)
downloadgit-9c6c304d6a01b72d7ce20722b80ca62e01fe8356.zip
git-9c6c304d6a01b72d7ce20722b80ca62e01fe8356.tar.gz
git-9c6c304d6a01b72d7ce20722b80ca62e01fe8356.tar.bz2
Fix the building of gitman.info document
"makeinfo" failed to generate gitman.info from gitman.texi input file because the combined manual page file contains several nodes with the same name (DESCRIPTION, OPTIONS, SEE ALSO etc.). An Info document should contain unique node names. This patch creates a simple (read: ugly) work-around by suppressing the validation of the final Info file. Jumping to nodes in the Info document still works but they are not very useful. Common man-page headings like DESCRIPTION and OPTIONS appear in the Info node list and they point to the man page where they appear first (that is git-add currently). Also, this patch adds directory-entry information for Info document to make the document appear in the top-level Info directory. Signed-off-by: Teemu Likonen <tlikonen@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index c41a7b4..5cd8b63 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -198,7 +198,7 @@ gitman.texi: $(MAN_XML) cat-texi.perl
mv $@+ $@
gitman.info: gitman.texi
- $(MAKEINFO) --no-split $*.texi
+ $(MAKEINFO) --no-split --no-validate $*.texi
$(patsubst %.txt,%.texi,$(MAN_TXT)): %.texi : %.xml
$(RM) $@+ $@