mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
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>
This commit is contained in:
parent
8e6d69591a
commit
5ee4246339
4
Makefile
4
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; \
|
||||
|
|
Loading…
Reference in a new issue