/[escript]/trunk/doc/doxygen/SConscript
ViewVC logotype

Diff of /trunk/doc/doxygen/SConscript

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

revision 3276 by jfenwick, Mon Oct 11 01:48:14 2010 UTC revision 3277 by caltinay, Fri Oct 15 01:06:24 2010 UTC
# Line 14  Line 14 
14  import os  import os
15  Import('*')  Import('*')
16    
17  tmp = env.Command(env.Dir(env['prefix']+'/release/doc/doxygen'), [], [Mkdir(env['prefix']+'/release/doc/doxygen')])  doxy_dir=os.path.join(release_dir, 'doxygen')
18    env.Command(doxy_dir, [], [Mkdir(doxy_dir)])
19    
20  # Now some magic from the doxygen FAQ to get the global revision number into  # Now some magic from the doxygen FAQ to get the global revision number into
21  # the doxyfile  # the doxyfile
22  if os.name=='posix':  if os.name=='posix':
23      env.Alias('api_doxygen',[env.Dir(env['prefix']+'/release/doc/doxygen')],['(cat doc/doxygen/doxygen_esys; echo "PROJECT_NUMBER=\"Revision_`svnversion`\"" ) | doxygen - '])      env.Alias('api_doxygen',[doxy_dir],['(cat doc/doxygen/doxygen_esys; echo "PROJECT_NUMBER=\"Revision_`svnversion`\"" ) | doxygen - '])
24  else:  else:
25      env.Alias('api_doxygen',[env.Dir(env['prefix']+'/release/doc/doxygen')],["doxygen doc/doxygen/doxygen_esys"])      env.Alias('api_doxygen',[doxy_dir],["doxygen doc/doxygen/doxygen_esys"])
26    
27  env.AlwaysBuild('api_doxygen')  env.AlwaysBuild('api_doxygen')
28    

Legend:
Removed from v.3276  
changed lines
  Added in v.3277

  ViewVC Help
Powered by ViewVC 1.1.26