From 9f3acb1359c1f5fe841a81475e329e5d38604079 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 23 Oct 2008 19:33:15 +0000 Subject: fix up svn_revision.h problem so that we can build from a tarball git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4004 d708f5d6-7413-0410-9779-e7cbd77b26cf --- SConstruct | 8 ++++---- 1 file 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', -- cgit v1.2.3