diff options
| author | Vincent Richard <[email protected]> | 2004-11-11 22:51:59 +0100 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2004-11-11 22:51:59 +0100 |
| commit | 85dfb65a7fc99a13b76703f16fb26c31e54d5d9a (patch) | |
| tree | d9628ac772d74258eefae0b159f6dc1c3ea27a70 /SConstruct | |
| parent | Removed files since they are no more used now. (diff) | |
| download | vmime-85dfb65a7fc99a13b76703f16fb26c31e54d5d9a.tar.gz vmime-85dfb65a7fc99a13b76703f16fb26c31e54d5d9a.zip | |
Added support for generating documentation (Doxygen) + written AUTHORS file.
Diffstat (limited to 'SConstruct')
| -rw-r--r-- | SConstruct | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -12,6 +12,7 @@ # . scons opt=value set a configuration option # . scons install install library and include files (as root) # . scons dist build a source package (.tar.bz2) +# . scons doc build documentation for the project (Doxygen) # import commands @@ -438,6 +439,11 @@ Help(opts.GenerateHelpText(env)) # Cache current options opts.Save('options.cache', env) +# Documentation generation system +doxygenBuilder = Builder(action = 'doxygen $SOURCE') +env.Append(BUILDERS = { 'DoxygenDoc' : doxygenBuilder }) + + ########################## # Some initializations # @@ -730,3 +736,14 @@ if not (os.name == 'win32' or os.name == 'nt'): #env.Alias('dist', [ packageFile, packageFileWithTests ]) env.Alias('dist', packageFile) + + +################### +# Documentation # +################### + +doxygenDocPath = '(doxygen-generated-files)' + +env.DoxygenDoc(doxygenDocPath, 'vmime.doxygen') +env.Alias('doc', doxygenDocPath) + |
