From: Junio C Hamano Date: Thu, 7 Feb 2013 22:41:51 +0000 (-0800) Subject: Merge branch 'jk/doc-makefile-cleanup' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b9a5f6811d186ec2420df39e3ec8087c7166a636;p=git.git Merge branch 'jk/doc-makefile-cleanup' * jk/doc-makefile-cleanup: Documentation/Makefile: clean up MAN*_TXT lists --- b9a5f6811d186ec2420df39e3ec8087c7166a636 diff --cc Documentation/Makefile index af780049d,5d22e0e02..ae27aa5cd --- a/Documentation/Makefile +++ b/Documentation/Makefile @@@ -1,13 -1,33 +1,34 @@@ - MAN1_TXT= \ - $(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \ - $(wildcard git-*.txt)) \ - gitk.txt gitweb.txt git.txt gitremote-helpers.txt - MAN5_TXT=gitattributes.txt gitignore.txt gitmodules.txt githooks.txt \ - gitrepository-layout.txt gitweb.conf.txt - MAN7_TXT=gitcli.txt gittutorial.txt gittutorial-2.txt \ - gitcvs-migration.txt gitcore-tutorial.txt gitglossary.txt \ - gitdiffcore.txt gitnamespaces.txt gitrevisions.txt gitworkflows.txt + # Guard against environment variables + MAN1_TXT = + MAN5_TXT = + MAN7_TXT = + + MAN1_TXT += $(filter-out \ + $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \ + $(wildcard git-*.txt)) + MAN1_TXT += git.txt + MAN1_TXT += gitk.txt ++MAN1_TXT += gitremote-helpers.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 += 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_XML=$(patsubst %.txt,%.xml,$(MAN_TXT))