check-docs: do not expect guide pages to correspond to commands
When we want to see what commands are listed in `command-list.txt` but not installed, we currently include lines that refer to guides, e.g. `gitattributes` or `gitcli`. Let's not include those lines, as they are not referring to commands. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Mar 25, 2019 at 14:41 UTC
8e6d69591a46b3cb37641f5e99c7fa8b7e896f00
1 file changed
+1
Makefile
+1
@@ -3078,6 +3078,7 @@ check-docs::
3078
( \
3079
sed -e '1,/^### command list/d' \
3080
-e '/^#/d' \
3081
+ -e '/guide$$/d' \
3082
-e 's/[ ].*//' \
3083
-e 's/^/listed /' command-list.txt; \
3084
$(MAKE) -C Documentation print-man1 | \