Package: supercollider / 1:3.4.5-1wheezy1

06_deb_scvim.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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])