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

Annotation of /trunk/doc/doxygen/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2283 - (hide annotations)
Fri Feb 20 01:08:21 2009 UTC (10 years, 7 months ago) by jfenwick
File size: 977 byte(s)
doxygen doco now correctly reports global project revsion number.
link to epydoc is now via a relative URL (avoids the problem of nightly doxygen pointing at out of date release epydoc).
1 cochrane 369
2 ksteube 1811 ########################################################
3     #
4     # Copyright (c) 2003-2008 by University of Queensland
5     # Earth Systems Science Computational Center (ESSCC)
6     # http://www.uq.edu.au/esscc
7     #
8     # Primary Business: Queensland, Australia
9     # Licensed under the Open Software License version 3.0
10     # http://www.opensource.org/licenses/osl-3.0.php
11     #
12     ########################################################
13    
14    
15 ksteube 1215 import os
16     Import('*')
17 jgs 488
18    
19 jfenwick 2005 tmp = env.Command(env.Dir(env['prefix']+'/release/doc/doxygen'), [], [Mkdir(env['prefix']+'/release/doc/doxygen')])
20    
21 jfenwick 2283
22     #Now some magic from the doxygen FAQ to get the global revision number into the doxyfile
23     if os.name=='posix':
24     env.Alias('api_doxygen',[env.Dir(env['prefix']+'/release/doc/doxygen')],['(cat doc/doxygen/doxygen_esys; echo "PROJECT_NUMBER=\"Revision_`svnversion`\"" ) | doxygen - '])
25     else:
26     env.Alias('api_doxygen',[env.Dir(env['prefix']+'/release/doc/doxygen')],["doxygen doc/doxygen/doxygen_esys"])
27 jfenwick 2005 env.AlwaysBuild('api_doxygen')

  ViewVC Help
Powered by ViewVC 1.1.26