File: 02_disable_elisp_compilation.diff

package info (click to toggle)
supercollider 1%3A3.4.5-1wheezy1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 26,972 kB
  • sloc: cpp: 116,645; lisp: 64,914; ansic: 10,725; python: 3,548; perl: 766; ruby: 487; sh: 152; makefile: 117; xml: 13
file content (22 lines) | stat: -rw-r--r-- 1,237 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Do not byte compile .el files
 debian byte compiles at package install time but that cannot be relied
 upon in other systems.
Forwarded: not-needed
Author: Артём Попов <artfwo@gmail.com>
Last-Update: 2011-06-11
--- a/common/SConstruct
+++ b/common/SConstruct
@@ -1273,10 +1273,10 @@
                 'sed \'s,@PKG_DATA_DIR@,%s,g\' < $SOURCE > $TARGET' %
                 pkg_data_dir(FINAL_PREFIX))
     el_files = glob.glob('../editors/scel/el/*.el') + ['../editors/scel/el/sclang-vars.el']
-    elc_files = map(lambda f: os.path.splitext(f)[0] + '.elc', el_files)
+    elc_files = [] #map(lambda f: os.path.splitext(f)[0] + '.elc', el_files)
     elisp_dir = os.path.join(INSTALL_PREFIX, 'share', 'emacs', 'site-lisp')
-    env.Command(elc_files, el_files,
-                'emacs -batch --eval "(add-to-list \'load-path (expand-file-name \\"../editors/scel/el/\\"))" -f batch-byte-compile $SOURCES')
+    #env.Command(elc_files, el_files,
+    #            'emacs -batch --eval "(add-to-list \'load-path (expand-file-name \\"../editors/scel/el/\\"))" -f batch-byte-compile $SOURCES')
     env.Alias('install-elisp', env.Install(elisp_dir, el_files + elc_files))
     installEnv.Append(DATA = 'install-elisp')