summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2019-03-25 21:41:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-04-01 05:01:11 (GMT)
commit5ee42463399ca3cc75b7e6e4368a3a5df5b010f2 (patch)
treee4872ab520ec5d3d65ee701e757e1225bd271d50 /Makefile
parent8e6d69591a46b3cb37641f5e99c7fa8b7e896f00 (diff)
downloadgit-5ee42463399ca3cc75b7e6e4368a3a5df5b010f2.zip
git-5ee42463399ca3cc75b7e6e4368a3a5df5b010f2.tar.gz
git-5ee42463399ca3cc75b7e6e4368a3a5df5b010f2.tar.bz2
check-docs: fix for setups where executables have an extension
On Windows, for example, executables (must) have the extension `.exe`. Our `check-docs` target was not prepared for that. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 02a29df..8654c13 100644
--- a/Makefile
+++ b/Makefile
@@ -3057,7 +3057,7 @@ ALL_COMMANDS += git-gui git-citool
.PHONY: check-docs
check-docs::
$(MAKE) -C Documentation lint-docs
- @(for v in $(ALL_COMMANDS); \
+ @(for v in $(patsubst %$X,%,$(ALL_COMMANDS)); \
do \
case "$$v" in \
git-merge-octopus | git-merge-ours | git-merge-recursive | \
@@ -3087,7 +3087,7 @@ check-docs::
-e 's/\.txt//'; \
) | while read how cmd; \
do \
- case " $(ALL_COMMANDS) " in \
+ case " $(patsubst %$X,%,$(ALL_COMMANDS)) " in \
*" $$cmd "*) ;; \
*) echo "removed but $$how: $$cmd" ;; \
esac; \