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

Diff of /branches/diaplayground/SConstruct

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

revision 3602 by caltinay, Mon Sep 19 02:38:11 2011 UTC revision 3604 by caltinay, Mon Sep 19 04:47:53 2011 UTC
# Line 614  try: Line 614  try:
614  except OSError:  except OSError:
615      env['gmsh']=False      env['gmsh']=False
616    
617    ######## PDFLaTeX (for documentation)
618    if 'PDF' in dir(env) and '.tex' in env.PDF.builder.src_suffixes(env):
619        env['pdflatex']=True
620    else:
621        env['pdflatex']=False
622    
623  ######################## Summarize our environment ###########################  ######################## Summarize our environment ###########################
624    
625  # keep some of our install paths first in the list for the unit tests  # keep some of our install paths first in the list for the unit tests
# Line 759  buildvars.close() Line 765  buildvars.close()
765    
766  ################### Targets to build and install libraries ###################  ################### Targets to build and install libraries ###################
767    
768  target_init = env.Command(env['pyinstall']+'/__init__.py', None, Touch('$TARGET'))  target_init = env.Command(os.path.join(env['pyinstall'],'__init__.py'), None, Touch('$TARGET'))
769  env.Alias('target_init', [target_init])  env.Alias('target_init', [target_init])
770    # delete buildvars upon cleanup
771    env.Clean('target_init', os.path.join(env['libinstall'], 'buildvars'))
772    
773  # The headers have to be installed prior to build in order to satisfy  # The headers have to be installed prior to build in order to satisfy
774  # #include <paso/Common.h>  # #include <paso/Common.h>
# Line 846  if not IS_WINDOWS: Line 854  if not IS_WINDOWS:
854          print("Error attempting to write unittests file.")          print("Error attempting to write unittests file.")
855          Exit(1)          Exit(1)
856    
857        # delete utest.sh upon cleanup
858        env.Clean('target_init', 'utest.sh')
859    
860      # Make sure that the escript wrapper is in place      # Make sure that the escript wrapper is in place
861      if not os.path.isfile(os.path.join(env['bininstall'], 'run-escript')):      if not os.path.isfile(os.path.join(env['bininstall'], 'run-escript')):
862          print("Copying escript wrapper.")          print("Copying escript wrapper.")

Legend:
Removed from v.3602  
changed lines
  Added in v.3604

  ViewVC Help
Powered by ViewVC 1.1.26