Fix bug #2691034: AMIGAOS: Makefile.common broken.

svn-id: r39729
This commit is contained in:
Walter van Niftrik 2009-03-28 23:39:59 +00:00
parent a329b64ecc
commit 1b356fe543

View File

@ -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)