Documentation/Makefile: clean up MAN*_TXT lists

We keep a list of the various files that end up as man1,
man5, etc. Let's break these single-line lists into sorted
multi-line lists, which makes diffs that touch them much
easier to read.

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jeff King
2013-02-01 14:41:14 -05:00
committed by Junio C Hamano
parent 9a6c84e6e9
commit a617578d37

View File

@ -1,13 +1,33 @@
MAN1_TXT= \ # Guard against environment variables
$(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \ MAN1_TXT =
$(wildcard git-*.txt)) \ MAN5_TXT =
gitk.txt gitweb.txt git.txt MAN7_TXT =
MAN5_TXT=gitattributes.txt gitignore.txt gitmodules.txt githooks.txt \
gitrepository-layout.txt gitweb.conf.txt MAN1_TXT += $(filter-out \
MAN7_TXT=gitcli.txt gittutorial.txt gittutorial-2.txt \ $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
gitcvs-migration.txt gitcore-tutorial.txt gitglossary.txt \ $(wildcard git-*.txt))
gitdiffcore.txt gitnamespaces.txt gitrevisions.txt gitworkflows.txt MAN1_TXT += git.txt
MAN1_TXT += gitk.txt
MAN1_TXT += gitweb.txt
MAN5_TXT += gitattributes.txt
MAN5_TXT += githooks.txt
MAN5_TXT += gitignore.txt
MAN5_TXT += gitmodules.txt
MAN5_TXT += gitrepository-layout.txt
MAN5_TXT += gitweb.conf.txt
MAN7_TXT += gitcli.txt
MAN7_TXT += gitcore-tutorial.txt
MAN7_TXT += gitcredentials.txt MAN7_TXT += gitcredentials.txt
MAN7_TXT += gitcvs-migration.txt
MAN7_TXT += gitdiffcore.txt
MAN7_TXT += gitglossary.txt
MAN7_TXT += gitnamespaces.txt
MAN7_TXT += gitrevisions.txt
MAN7_TXT += gittutorial-2.txt
MAN7_TXT += gittutorial.txt
MAN7_TXT += gitworkflows.txt
MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT) MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT)
MAN_XML=$(patsubst %.txt,%.xml,$(MAN_TXT)) MAN_XML=$(patsubst %.txt,%.xml,$(MAN_TXT))