[llvm-commits] [hlvm] r38224 - /hlvm/trunk/docs/SConscript

Reid Spencer reid at x10sys.com
Sat Jul 7 17:01:19 PDT 2007


Author: reid
Date: Sat Jul  7 19:01:18 2007
New Revision: 38224

URL: http://llvm.org/viewvc/llvm-project?rev=38224&view=rev
Log:
Just build the docs on "install", no need for a separate target.

Modified:
    hlvm/trunk/docs/SConscript

Modified: hlvm/trunk/docs/SConscript
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/docs/SConscript?rev=38224&r1=38223&r2=38224&view=diff

==============================================================================
--- hlvm/trunk/docs/SConscript (original)
+++ hlvm/trunk/docs/SConscript Sat Jul  7 19:01:18 2007
@@ -23,15 +23,16 @@
 from build import hlvm
 from os.path import join as pjoin
 Import('env')
-if 'docs' in COMMAND_LINE_TARGETS:
+if 'install' in COMMAND_LINE_TARGETS:
   hlvm.GetDoxygen(env)
   hlvm.GetConfigFile(env)
   hlvm.GetXSLTproc(env)
+  hlvm.InstallDocs(env,hlvm.GetFiles(env,'*.html')+['hlvm.css'])
+  env.XSLTproc('HLVM.rng.html',['RngToXHTML.xsl','#hlvm/Reader/HLVM.rng'])
+  hlvm.InstallDocs(env,'HLVM.rng.html')
   env.ConfigFile('Doxyfile','Doxyfile.in')
   env.Doxygen('doxygen.tar.gz','Doxyfile')
-  env.XSLTproc('HLVM.rng.html',['RngToXHTML.xsl','#hlvm/Reader/HLVM.rng'])
-  env.Alias('docs','doxygen.tar.gz')
-  env.Alias('docs','HLVM.rng.html')
+  hlvm.InstallDocs(env,'doxygen.tar.gz')
 
 if 'doxy-install' in COMMAND_LINE_TARGETS:
   hlvm.GetDoxygenInstall(env)
@@ -40,5 +41,4 @@
   env.DoxygenInstall(installtgt,installsrc)
   env.Alias('doxy-install',installtgt)
 
-if 'install' in COMMAND_LINE_TARGETS:
-  hlvm.InstallDocs(env,hlvm.GetFiles(env,'*.html')+['hlvm.css'])
+hlvm.Dirs(env,['tools'])





More information about the llvm-commits mailing list