makefile: Make sure to gather git commit-id whenever possible
This commit is contained in:
parent
4b16e43e3e
commit
8f9c763f67
1 changed files with 7 additions and 0 deletions
7
makefile
7
makefile
|
@ -188,6 +188,13 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
|||
ifneq (,$(strip $(GIT_HOOKS)))
|
||||
$(info *** Warning - Error installing git hooks *** $(GIT_HOOKS))
|
||||
endif
|
||||
else
|
||||
ifneq (commit-id-exists,$(shell if $(TEST) -e .git-commit-id; then echo commit-id-exists; fi))
|
||||
GIT_HOOKS = $(shell ./.git/hooks/post-checkout)
|
||||
ifneq (,$(strip $(GIT_HOOKS)))
|
||||
$(info *** Warning - Error executing git hooks *** $(GIT_HOOKS))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
LTO_EXCLUDE_VERSIONS =
|
||||
|
|
Loading…
Add table
Reference in a new issue