summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 415e96c)
raw | patch | inline | side by side (parent: 415e96c)
author | Sebastian Kuzminsky <seb@highlab.com> | |
Thu, 19 May 2005 16:24:54 +0000 (10:24 -0600) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 19 May 2005 16:58:44 +0000 (09:58 -0700) |
This moves the git manpage to man7, since "git" isn't a direct command
per se. It also does two other things:
* Sort of works around the asciidoc 6.0.3 bug where the manpages all
get called "git.1". It just renames them to what they should have
been called.
* Fixes a cut-n-paste bug in git-diff-helper.txt that was making
asciidoc choke.
per se. It also does two other things:
* Sort of works around the asciidoc 6.0.3 bug where the manpages all
get called "git.1". It just renames them to what they should have
been called.
* Fixes a cut-n-paste bug in git-diff-helper.txt that was making
asciidoc choke.
Documentation/Makefile | patch | blob | history | |
Documentation/git-diff-helper.txt | patch | blob | history | |
Documentation/git.txt | patch | blob | history |
diff --git a/Documentation/Makefile b/Documentation/Makefile
index a3ad85dce757560cc704a5c9342936b86e46658e..27ae781a776f8da20b15578725992357f353bb19 100644 (file)
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
DOC_SRC=$(wildcard git*.txt)
DOC_HTML=$(patsubst %.txt,%.html,$(DOC_SRC))
-DOC_MAN=$(patsubst %.txt,%.1,$(DOC_SRC))
+DOC_MAN=$(patsubst %.txt,%.1,$(wildcard git-*.txt)) git.7
all: $(DOC_HTML) $(DOC_MAN)
touch $@
clean:
- rm -f *.xml *.html *.1
+ rm -f *.xml *.html *.1 *.7
%.html : %.txt
asciidoc -b css-embedded -d manpage $<
-%.1 : %.xml
+%.1 %.7 : %.xml
xmlto man $<
+ # FIXME: this next line works around an output filename bug in asciidoc 6.0.3
+ [ "$@" = "git.7" ] || mv git.1 $@
%.xml : %.txt
asciidoc -b docbook -d manpage $<
index 3c5d8fdf2b1e02eb36ca3e4d58a241406927975b..800d71a386f77f83de8ab85a574ab85a7bf77906 100644 (file)
git-diff-helper(1)
-=======================
+==================
v0.1, May 2005
NAME
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 134afffe3f669f5806a03793f1d703895b022e0f..ec7878eeadc28d9cb39311aa48e7c2aa20b73059 100644 (file)
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
-git(1)
+git(7)
======
v0.1, May 2005