gitweb: Convert project name to UTF-8
[gitweb.git] / Documentation / Makefile
index c2ee5b4824aa8708ddbddf0afd4415442a086557..266af47176a7f09000ed90f43b5ed83af74db8ea 100644 (file)
@@ -71,14 +71,24 @@ doc.dep : $(wildcard *.txt) build-docdep.perl
 
 -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 $<
@@ -93,9 +103,7 @@ 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
+       xmlto html-nochunks $<
 
 glossary.html : glossary.txt sort_glossary.pl
        cat $< | \