ok, I'm not at my Amiga, so I'm not sure if this shell command exists (but I think so):Raziel wrote:There you go
doesn´t work.VERSION = $(shell grep SCUMMVM_VERSION "${srcdir}/base/internal_version.h" | cut -d\" -f2)
You can try the linein abc-shell.grep SCUMMVM_VERSION "./base/internal_version.h"
The {srcdir} part will always be translated into "." at least for me, which won´t work then.
You can find internal_version.h here
You may try to first translate the "." or ${srcdir} to its real path, i.e.
srcdir=`realpath "${srcdir}"`
VERSION = $(shell grep SCUMMVM_VERSION "${srcdir}/base/internal_version.h" | cut -d\" -f2)
cheers,
nexus