mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 04:07:05 +00:00
Autodetect long V numbers and shorten them.
svn-id: r48351
This commit is contained in:
parent
338532ec3c
commit
487eebf9cf
@ -30,5 +30,7 @@ ip.txt : $(srcdir)/backends/platform/dc/ip.txt.in
|
||||
if [ x"$(VER_EXTRA)" = xsvn ]; then \
|
||||
if [ -z "$(VER_SVNREV)" ]; then ver="SVN"; else ver="r$(VER_SVNREV)"; fi; \
|
||||
else ver="V$(VERSION)"; fi; \
|
||||
if expr "$ver" : V...... >/dev/null; then \
|
||||
ver="V$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)"; fi; \
|
||||
sed -e 's/[@]VERSION[@]/'"$$ver"/ -e 's/[@]DATE[@]/$(shell date '+%Y%m%d')/' < $< > $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user