mirror of
https://github.com/holub/mame
synced 2025-07-07 19:03:29 +03:00
no error output if first time run (nw)
This commit is contained in:
parent
3e8559ad7b
commit
816860f2d8
7
makefile
7
makefile
@ -878,8 +878,11 @@ endif
|
||||
|
||||
ifeq ($(GIT_AVAILABLE),git)
|
||||
NEW_GIT_VERSION := $(shell git describe)
|
||||
OLD_GIT_VERSION := $(shell cat .mame_version)
|
||||
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
OLD_GIT_VERSION := $(shell cat .mame_version 2> /dev/null)
|
||||
else
|
||||
OLD_GIT_VERSION := $(shell cat .mame_version 2> NUL)
|
||||
endif
|
||||
ifneq ($(NEW_GIT_VERSION),$(OLD_GIT_VERSION))
|
||||
$(shell git describe > .mame_version)
|
||||
$(shell touch $(SRC)/version.cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user