[PATCH 3/7] check-docs: do not pretend that commands are listed which are excluded
- From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Apr 12, 2019, 12:00 UTC
- Message-ID
- <96ced7e17cb40c4d0f15955c482857196862ab80.1555070430.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.168.git.gitgitgadget@gmail.com>
From: Johannes Schindelin <johannes.schindelin@gmx.de>
In the previous commit, we taught `git help -a` to stop listing commands that are excluded from the build.
In this commit, we stop `check-docs` from claiming that those commands are listed.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --- Makefile | 1 + 1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile index 8f3c477ab3..5880d4d3a9 100644 --- a/Makefile +++ b/Makefile @@ -3085,6 +3085,7 @@ check-docs:: ( \ sed -e '1,/^### command list/d' \ -e '/^#/d' \ + $(patsubst %,-e '/^% /d',$(EXCLUDED_PROGRAMS)) \ -e '/guide$$/d' \ -e 's/[ ].*//' \ -e 's/^/listed /' command-list.txt; \
-- gitgitgadget