/[escript]/branches/amg_from_3530/SConstruct
ViewVC logotype

Diff of /branches/amg_from_3530/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC revision 1339 by ksteube, Wed Nov 7 01:53:12 2007 UTC
# Line 827  try: Line 827  try:
827     svn_pipe = os.popen("svnversion -n .")     svn_pipe = os.popen("svnversion -n .")
828     global_revision = svn_pipe.readlines()     global_revision = svn_pipe.readlines()
829     svn_pipe.close()     svn_pipe.close()
830     global_revision = re.sub("[^0-9]", "", global_revision[0])     global_revision = re.sub(":.*", "", global_revision[0])
831       global_revision = re.sub("[^0-9]", "", global_revision)
832  except:  except:
833     global_revision = "0"     global_revision = "0"
834  env.Append(CPPDEFINES = "SVN_VERSION="+global_revision)  env.Append(CPPDEFINES = "SVN_VERSION="+global_revision)
# Line 870  Export(["IS_WINDOWS_PLATFORM", "env", "i Line 871  Export(["IS_WINDOWS_PLATFORM", "env", "i
871  # End initialisation section  # End initialisation section
872  # Begin configuration section  # Begin configuration section
873  # adds this file and the scons option directore to the source tar  # adds this file and the scons option directore to the source tar
874  release_srcfiles=[env.File('SConstruct'),]+[ env.File(x) for x in glob.glob('scons/*.py') ]  release_srcfiles=[env.File('SConstruct'),env.Dir('lib'),env.Dir('include'),]+[ env.File(x) for x in glob.glob('scons/*.py') ]
875  release_testfiles=[env.File('README_TESTS'),]  release_testfiles=[env.File('README_TESTS'),]
876  env.Zip(src_zipfile, release_srcfiles)  env.Zip(src_zipfile, release_srcfiles)
877  env.Zip(test_zipfile, release_testfiles)  env.Zip(test_zipfile, release_testfiles)

Legend:
Removed from v.1312  
changed lines
  Added in v.1339

  ViewVC Help
Powered by ViewVC 1.1.26