diff options
author | Junio C Hamano <junkio@cox.net> | 2005-08-30 13:51:01 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-30 13:55:34 -0700 |
commit | 8db9307c9ca143fedaa972236054a5783c40bd37 (patch) | |
tree | 714f245e49ec7229a4ba7aff2bc396db6f1f5140 /Documentation/Makefile | |
parent | cc9f24d024e7e4bf0b2fbd4e1beb7eb1a425805f (diff) | |
download | git-8db9307c9ca143fedaa972236054a5783c40bd37.tar.gz git-8db9307c9ca143fedaa972236054a5783c40bd37.tar.xz |
Documentaion updates.
Mostly making the formatted html prettier.
Signed-off-by: Junio C Hamano <junkio@cox.net>
(cherry picked from 7adf1f15ebe074d4767df941817a6cf86d8e2533 commit)
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r-- | Documentation/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index aba35d7d5..e19c86f19 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -2,10 +2,12 @@ MAN1_TXT=$(wildcard git-*.txt) gitk.txt MAN7_TXT=git.txt DOC_HTML=$(patsubst %.txt,%.html,$(MAN1_TXT) $(MAN7_TXT)) -DOC_HTML += glossary.html -DOC_HTML += tutorial.html -DOC_HTML += howto-index.html -DOC_HTML += howto/revert-branch-rebase.html + +ARTICLES = tutorial cvs-migration diffcore howto-index +# with their own formatting rules. +SP_ARTICLES = glossary howto/revert-branch-rebase + +DOC_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES)) DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT)) DOC_MAN7=$(patsubst %.txt,%.7,$(MAN7_TXT)) @@ -58,21 +60,20 @@ clean: %.xml : %.txt asciidoc -b docbook -d manpage $< +git.html: git.txt ../README + glossary.html : glossary.txt sort_glossary.pl cat $< | \ perl sort_glossary.pl | \ asciidoc -b xhtml11 - > glossary.html -tutorial.html : tutorial.txt - asciidoc -b xhtml11 tutorial.txt - howto-index.txt: howto-index.sh $(wildcard howto/*.txt) rm -f $@+ $@ sh ./howto-index.sh $(wildcard howto/*.txt) >$@+ mv $@+ $@ -howto-index.html: howto-index.txt - asciidoc -b xhtml11 howto-index.txt +$(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt + asciidoc -b xhtml11 $*.txt WEBDOC_DEST = /pub/software/scm/git/docs |