diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-23 19:33:15 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-23 19:33:15 +0000 |
commit | 9f3acb1359c1f5fe841a81475e329e5d38604079 (patch) | |
tree | c1e3f907f6358abbb19be84e3e76f88f7772028d | |
parent | dc2ad95bfb766f7720f2bf58cae480b3ecaeade0 (diff) |
fix up svn_revision.h problem so that we can build from a tarball2.6
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4004 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | SConstruct | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct index 6e8b16e41e..6bfcbaa46f 100644 --- a/SConstruct +++ b/SConstruct @@ -274,9 +274,9 @@ def create_stored_revision (target = None, source = None, env = None): print "Could not open libs/ardour/svn_revision.cc for writing\n" sys.exit (-1) else: - print "You cannot use \"scons revision\" on without using a checked out" - print "copy of the Ardour source code repository" - sys.exit (-1) + if not os.path.exists('libs/ardour/ardour/svn_revision.h'): + print "This release of ardour is missing libs/ardour/ardour/svn_revision.h. Blame the packager." + sys.exit (-1) # # A generic builder for version.cc files @@ -1339,7 +1339,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', |