Description: Do not build help at build time
 It will be built at first run.
Forwarded: no
Last-Update: 2011-06-11
--- a/editors/scvim/SConstruct
+++ b/editors/scvim/SConstruct
@@ -91,18 +91,18 @@
 	DEFAULT_SC_HELP, PathOption.PathIsDir))
 
 #create our enviroment, with our options and custom builders
-env = Environment(options = opts, BUILDERS = {'BuildHelp' : build_help})
+env = Environment(options = opts)
 
 
 #generate the help options
 Help(opts.GenerateHelpText(env))
 
 #XXX how do we test for vim?
-if not env.GetOption('clean'):
-	#test for the ruby
-	if os.system("ruby -e exit") != 0:
-		print "error: scvim depends on ruby and the ruby executable is not in your path"
-		Exit(1)
+#if not env.GetOption('clean'):
+#	#test for the ruby
+#	if os.system("ruby -e exit") != 0:
+#		print "error: scvim depends on ruby and the ruby executable is not in your path"
+#		Exit(1)
 
 #get our variables from the options
 PREFIX = env.get('PREFIX')
@@ -124,10 +124,10 @@
 	)
 
 install_doc = env.Alias('install-doc', env.Install(DOC_DIR, ['SCVim.scd']))
-build_help = env.Alias('build-help', env.BuildHelp(target = Dir(DOC_DIR),
-	source = Dir(SUPERCOLLIDER_HELP_DIR)))
+#build_help = env.Alias('build-help', env.BuildHelp(target = Dir(DOC_DIR),
+#	source = Dir(SUPERCOLLIDER_HELP_DIR)))
 AlwaysBuild(Dir(DOC_DIR))
-Depends(build_help, install_doc)
+#Depends(build_help, install_doc)
 
 install_bin = env.Alias('install-bin',
 		install_dir(env, 'bin', bin_dir(PREFIX), ANY_FILE_RE, 1))
@@ -142,7 +142,7 @@
 env.Alias('install-all', [
 	install_bin,
 	install_vimfiles,
-	install_doc,
+#	install_doc,
 	install_rc,
 	install_classes])
 
