mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
Merge branch 'rj/clean-speedup'
Speed up 'make clean' on Cygwin. * rj/clean-speedup: Makefile: conditionally include GIT-VERSION-FILE
This commit is contained in:
commit
796f6525b1
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -9,7 +9,9 @@ all::
|
|||
|
||||
GIT-VERSION-FILE: FORCE
|
||||
@$(SHELL_PATH) ./GIT-VERSION-GEN
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
-include GIT-VERSION-FILE
|
||||
endif
|
||||
|
||||
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
|
||||
uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not')
|
||||
|
|
Loading…
Reference in a new issue