Skip to content

Commit 5ee4246

Browse files
dschogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8e6d695 commit 5ee4246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3057,7 +3057,7 @@ ALL_COMMANDS += git-gui git-citool
30573057
.PHONY: check-docs
30583058
check-docs::
30593059
$(MAKE) -C Documentation lint-docs
3060-
@(for v in $(ALL_COMMANDS); \
3060+
@(for v in $(patsubst %$X,%,$(ALL_COMMANDS)); \
30613061
do \
30623062
case "$$v" in \
30633063
git-merge-octopus | git-merge-ours | git-merge-recursive | \
@@ -3087,7 +3087,7 @@ check-docs::
30873087
-e 's/\.txt//'; \
30883088
) | while read how cmd; \
30893089
do \
3090-
case " $(ALL_COMMANDS) " in \
3090+
case " $(patsubst %$X,%,$(ALL_COMMANDS)) " in \
30913091
*" $$cmd "*) ;; \
30923092
*) echo "removed but $$how: $$cmd" ;; \
30933093
esac; \

0 commit comments

Comments
 (0)