mirror of
https://github.com/simh/simh.git
synced 2026-04-30 05:25:05 +00:00
makefile: Fix generation of commit time in .git-commit-id file
This commit is contained in:
4
makefile
4
makefile
@@ -211,8 +211,8 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
|||||||
NEED_COMMIT_ID = need-commit-id
|
NEED_COMMIT_ID = need-commit-id
|
||||||
endif
|
endif
|
||||||
ifeq (need-commit-id,$(NEED_COMMIT_ID))
|
ifeq (need-commit-id,$(NEED_COMMIT_ID))
|
||||||
$isodate=$(shell git log -1 --pretty="%ai"|sed -e 's/ /T/'|sed -e 's/ //')
|
isodate=$(shell git log -1 --pretty="%ai"|sed -e 's/ /T/'|sed -e 's/ //')
|
||||||
$(shell git log -1 --pretty="SIM_GIT_COMMIT_ID %H%nSIM_GIT_COMMIT_TIME $isodate" >.git-commit-id)
|
$(shell git log -1 --pretty="SIM_GIT_COMMIT_ID %H%nSIM_GIT_COMMIT_TIME $(isodate)" >.git-commit-id)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
LTO_EXCLUDE_VERSIONS =
|
LTO_EXCLUDE_VERSIONS =
|
||||||
|
|||||||
Reference in New Issue
Block a user