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

Annotation of /trunk/doc/doxygen/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3277 - (hide annotations)
Fri Oct 15 01:06:24 2010 UTC (9 years ago) by caltinay
File size: 886 byte(s)
This should keep scons happy on systems without pdflatex issuing a warning
to the user. Also updated all other doc sconscript files to use a global
release_dir prefix so we can easily move the files somewhere else if req'd.

1 cochrane 369
2 ksteube 1811 ########################################################
3     #
4 jfenwick 2881 # Copyright (c) 2003-2010 by University of Queensland
5 ksteube 1811 # 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 ksteube 1215 import os
15     Import('*')
16 jgs 488
17 caltinay 3277 doxy_dir=os.path.join(release_dir, 'doxygen')
18     env.Command(doxy_dir, [], [Mkdir(doxy_dir)])
19 jfenwick 2005
20 jfenwick 3259 # Now some magic from the doxygen FAQ to get the global revision number into
21     # the doxyfile
22 jfenwick 2283 if os.name=='posix':
23 caltinay 3277 env.Alias('api_doxygen',[doxy_dir],['(cat doc/doxygen/doxygen_esys; echo "PROJECT_NUMBER=\"Revision_`svnversion`\"" ) | doxygen - '])
24 jfenwick 2283 else:
25 caltinay 3277 env.Alias('api_doxygen',[doxy_dir],["doxygen doc/doxygen/doxygen_esys"])
26 jfenwick 3259
27 jfenwick 2005 env.AlwaysBuild('api_doxygen')
28 jfenwick 3259

  ViewVC Help
Powered by ViewVC 1.1.26