mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Update the version number from os.h.
This commit is contained in:
parent
7636f905bc
commit
7a766d1001
@ -24,8 +24,10 @@ if gcc -v 2>&1 | grep -i mingw > /dev/null 2> /dev/null; then
|
|||||||
else
|
else
|
||||||
echo 'Not overwriting Makefile.options.'
|
echo 'Not overwriting Makefile.options.'
|
||||||
fi
|
fi
|
||||||
echo "Creating config.h from config.h.mingw"
|
# Extract the version number from os.h
|
||||||
cp config.h.mingw config.h
|
VERSION=`grep '# define VERSION' src/common/os.h | sed -e 's;# define VERSION ;;' -e 's;";;g'`
|
||||||
|
echo "Creating config.h from config.h.mingw (version is $VERSION)"
|
||||||
|
sed -e 's/#define VERSION.*/#define VERSION "'$VERSION'"/' < config.h.mingw > config.h
|
||||||
echo ''
|
echo ''
|
||||||
echo 'Creating dependencies (calling "make depend")'
|
echo 'Creating dependencies (calling "make depend")'
|
||||||
echo ''
|
echo ''
|
||||||
|
Loading…
Reference in New Issue
Block a user