mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 11:20:40 +00:00
parent
a329b64ecc
commit
1b356fe543
@ -114,7 +114,8 @@ endif
|
|||||||
# Get the current version information
|
# Get the current version information
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
VERSION = $(shell grep SCUMMVM_VERSION "${srcdir}/base/internal_version.h" | cut -d\" -f2)
|
# AmigaOS4's grep has a problem with "./" in pathnames, so use cat.
|
||||||
|
VERSION = $(shell cat "${srcdir}/base/internal_version.h" | grep SCUMMVM_VERSION | cut -d\" -f2)
|
||||||
VER_MAJOR = $(shell echo $(VERSION) | cut -d. -f 1)
|
VER_MAJOR = $(shell echo $(VERSION) | cut -d. -f 1)
|
||||||
VER_MINOR = $(shell echo $(VERSION) | cut -d. -f 2)
|
VER_MINOR = $(shell echo $(VERSION) | cut -d. -f 2)
|
||||||
VER_PATCH = $(shell echo $(VERSION) | cut -d. -f 3 | cut -c1)
|
VER_PATCH = $(shell echo $(VERSION) | cut -d. -f 3 | cut -c1)
|
||||||
|
Loading…
Reference in New Issue
Block a user