From: Junio C Hamano Date: Wed, 31 Jan 2007 22:41:17 +0000 (-0800) Subject: Merge branch 'master' of git://linux-nfs.org/~bfields/git X-Git-Tag: v1.5.0-rc3~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9299c4f147bcff603eef187eb04fe38153571d30?ds=inline;hp=-c Merge branch 'master' of git://linux-nfs.org/~bfields/git This is in the hope of giving JBF's user-manual wider exposure. I am not very happy with trailing whitespaces in the new document, but let's not worry too much about the formatting issues for now, but concentrate more on the structure and the contents. --- 9299c4f147bcff603eef187eb04fe38153571d30 diff --combined Documentation/Makefile index 5314068d32,c2ee5b4824..5e012f48e3 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@@ -17,7 -17,7 +17,7 @@@ ARTICLES += hook ARTICLES += everyday ARTICLES += git-tools # with their own formatting rules. - SP_ARTICLES = glossary howto/revert-branch-rebase + SP_ARTICLES = glossary howto/revert-branch-rebase user-manual DOC_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES)) @@@ -71,24 -71,14 +71,24 @@@ doc.dep : $(wildcard *.txt) build-docde -include doc.dep -git.7: README +cmds_txt = cmds-ancillaryinterrogators.txt \ + cmds-ancillarymanipulators.txt \ + cmds-mainporcelain.txt \ + cmds-plumbinginterrogators.txt \ + cmds-plumbingmanipulators.txt \ + cmds-synchingrepositories.txt \ + cmds-synchelpers.txt \ + cmds-purehelpers.txt \ + cmds-foreignscminterface.txt -README: ../README - cp $< $@ +$(cmds_txt): cmd-list.perl $(MAN1_TXT) + perl ./cmd-list.perl +git.7 git.html: git.txt core-intro.txt clean: - rm -f *.xml *.html *.1 *.7 howto-index.txt howto/*.html doc.dep README + rm -f *.xml *.html *.1 *.7 howto-index.txt howto/*.html doc.dep + rm -f $(cmds_txt) %.html : %.txt asciidoc -b xhtml11 -d manpage -f asciidoc.conf $< @@@ -99,6 -89,14 +99,12 @@@ %.xml : %.txt asciidoc -b docbook -d manpage -f asciidoc.conf $< + user-manual.xml: user-manual.txt user-manual.conf + asciidoc -b docbook -d book $< + + user-manual.html: user-manual.xml + xmlto -m /etc/asciidoc/docbook-xsl/xhtml.xsl html-nochunks $< + -git.html: git.txt README - glossary.html : glossary.txt sort_glossary.pl cat $< | \ perl sort_glossary.pl | \