aboutsummaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-18 16:02:13 -0800
committerJunio C Hamano <junkio@cox.net>2007-01-18 16:18:29 -0800
commit72fe6a59890870ed9c3e9e1e6381fc0d7ba75fe4 (patch)
treed7a56bbb7be8c1c5f91f1dcbffbabc1199c1051d /Documentation/Makefile
parentc3f0baacadbd7b5710052213a2ec3cdd5b77bb6e (diff)
downloadgit-72fe6a59890870ed9c3e9e1e6381fc0d7ba75fe4.tar.gz
git-72fe6a59890870ed9c3e9e1e6381fc0d7ba75fe4.tar.xz
Documentation: Generate command lists.
This moves the source of the list of commands and categorization to the end of Documentation/cmd-list.perl, so that re-categorization and re-ordering would become easier to manage. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 9f2d242e5..96755ad68 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -71,11 +71,21 @@ doc.dep : $(wildcard *.txt) build-docdep.perl
-include doc.dep
-git.7 git.html: git.txt core-intro.txt
+cmds_txt = cmds-ancillaryinterrogators.txt \
+ cmds-ancillarymanipulators.txt \
+ cmds-mainporcelain.txt \
+ cmds-plumbinginterrogators.txt \
+ cmds-plumbingmanipulators.txt \
+ cmds-synchingrepositories.txt
+
+$(cmds_txt): cmd-list.perl $(MAN1_TXT) $(MAN7_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
+ rm -f $(cmds_txt)
%.html : %.txt
asciidoc -b xhtml11 -d manpage -f asciidoc.conf $<