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

Contents of /trunk/doc/doxygen/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2283 - (show annotations)
Fri Feb 20 01:08:21 2009 UTC (14 years, 1 month 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
2 ########################################################
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 import os
16 Import('*')
17
18
19 tmp = env.Command(env.Dir(env['prefix']+'/release/doc/doxygen'), [], [Mkdir(env['prefix']+'/release/doc/doxygen')])
20
21
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 env.AlwaysBuild('api_doxygen')

  ViewVC Help
Powered by ViewVC 1.1.26