mirror of
https://github.com/simh/simh.git
synced 2026-01-13 23:35:57 +00:00
makefile: Make sure to gather git commit-id whenever possible
This commit is contained in:
parent
4b16e43e3e
commit
8f9c763f67
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…
x
Reference in New Issue
Block a user