mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
various miscellany related to versions, gtk2 build and packaging
This commit is contained in:
parent
4cd27e4733
commit
cadfc2aee1
6 changed files with 13 additions and 23 deletions
23
tools/define_versions.sh
Normal file
23
tools/define_versions.sh
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#
|
||||
# this is sourced by build and package, and executed from within build/{osx,linux}_packaging
|
||||
#
|
||||
|
||||
release_version=`grep -m 1 '^VERSION = ' ../../wscript | awk '{print $3}' | sed "s/'//g"`
|
||||
r=`cut -d'"' -f2 < ../../libs/ardour/revision.cc | sed -e 1d -e "s/$release_version-//"`
|
||||
if echo $r | grep -q -e - ; then
|
||||
revcount=`echo $r | cut -d- -f1`
|
||||
fi
|
||||
commit=`echo $r | cut -d- -f2`
|
||||
version=${release_version}${revcount:+.$revcount}
|
||||
|
||||
#
|
||||
# Figure out the Build Type
|
||||
#
|
||||
# Note that the name of the cache file may vary from to time
|
||||
#
|
||||
|
||||
if grep -q "DEBUG = True" ../../build/c4che/_cache.py; then
|
||||
DEBUG="T"
|
||||
else
|
||||
DEBUG="F"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue