[llvm-commits] [hlvm] r38186 - in /hlvm/trunk: build/documentation.py docs/SConscript
Reid Spencer
reid at x10sys.com
Sat Jul 7 17:00:56 PDT 2007
Author: reid
Date: Sat Jul 7 19:00:55 2007
New Revision: 38186
URL: http://llvm.org/viewvc/llvm-project?rev=38186&view=rev
Log:
Don't build documentation by default, but only when the "docs" target is
given. Fix the doxygen builder to actually create the gzipped tar file.
Modified:
hlvm/trunk/build/documentation.py
hlvm/trunk/docs/SConscript
Modified: hlvm/trunk/build/documentation.py
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/build/documentation.py?rev=38186&r1=38185&r2=38186&view=diff
==============================================================================
--- hlvm/trunk/build/documentation.py (original)
+++ hlvm/trunk/build/documentation.py Sat Jul 7 19:00:55 2007
@@ -26,7 +26,7 @@
env.Depends(tgtpath,'doxygen.intro')
env.Depends(tgtpath,'doxygen.css')
env.Depends(tgtpath,getHeaders(env))
- if env.Execute(env['with_doxygen'] + ' ' + srcpath + ' >' +
+ if 0 == env.Execute(env['with_doxygen'] + ' ' + srcpath + ' >' +
pjoin(tgtdir,'doxygen.out')):
return env.Execute(env['TAR'] + ' zcf ' + tgtpath + ' ' +
pjoin(tgtdir,'apis'))
Modified: hlvm/trunk/docs/SConscript
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/docs/SConscript?rev=38186&r1=38185&r2=38186&view=diff
==============================================================================
--- hlvm/trunk/docs/SConscript (original)
+++ hlvm/trunk/docs/SConscript Sat Jul 7 19:00:55 2007
@@ -21,12 +21,11 @@
#
#===----------------------------------------------------------------------===#
from build import hlvm
-from os.path import join as pjoin
Import('env')
-hlvm.GetDoxygen(env)
-hlvm.GetXSLTproc(env)
-hlvm.GetConfigFile(env)
-env.ConfigFile('Doxyfile','Doxyfile.in')
-env.Doxygen('doxygen.tar.gz','Doxyfile')
-env.XSLTproc('HLVM.rng.html',['RngToXHTML.xsl','#hlvm/Reader/HLVM.rng'])
-
+if 'docs' in COMMAND_LINE_TARGETS:
+ hlvm.GetDoxygen(env)
+ hlvm.GetXSLTproc(env)
+ hlvm.GetConfigFile(env)
+ env.ConfigFile('Doxyfile','Doxyfile.in')
+ env.Doxygen('doxygen.tar.gz','Doxyfile')
+ env.XSLTproc('HLVM.rng.html',['RngToXHTML.xsl','#hlvm/Reader/HLVM.rng'])
More information about the llvm-commits
mailing list