mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 11:06:32 +01:00
Improve svn revision handling and make srctar "work". (The tarball is created, but it doesn't build...)
git-svn-id: svn://localhost/ardour2/branches/3.0@4298 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
72f55cd8b6
commit
6974dbdcd2
4 changed files with 18 additions and 12 deletions
|
|
@ -281,9 +281,12 @@ def create_stored_revision (target = None, source = None, env = None):
|
|||
rev = fetch_svn_revision ('.');
|
||||
elif os.path.exists('.git'):
|
||||
rev = fetch_git_revision ('.');
|
||||
elif os.path.exists('libs/ardour/svn_revision.cc'):
|
||||
print "Using packaged svn revision"
|
||||
return
|
||||
else:
|
||||
print "You cannot use \"scons revision\" on without using a checked out"
|
||||
print "copy of the Ardour source code repository"
|
||||
print "Your source does not include revision information."
|
||||
print "Please check out the code from a repository or use a properly packaged version!"
|
||||
sys.exit (-1)
|
||||
|
||||
try:
|
||||
|
|
@ -1366,7 +1369,7 @@ Default (sysrcbuild)
|
|||
Precious (env['DISTTREE'])
|
||||
|
||||
env.Distribute (env['DISTTREE'],
|
||||
[ 'SConstruct', 'svn_revision.h',
|
||||
[ 'SConstruct',
|
||||
'COPYING', 'PACKAGER_README', 'README',
|
||||
'ardour.rc.in',
|
||||
'tools/config.guess',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue