Package: supercollider / 1:3.4.5-1wheezy1

03_fix_elisp_install_path.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Install elisp files into a package-specific subdir.
Forwarded: no
Author: Артём Попов <artfwo@gmail.com>
Last-Update: 2011-06-11
--- a/common/SConstruct
+++ b/common/SConstruct
@@ -1274,7 +1274,7 @@
                 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)
-    elisp_dir = os.path.join(INSTALL_PREFIX, 'share', 'emacs', 'site-lisp')
+    elisp_dir = os.path.join(INSTALL_PREFIX, 'share', 'emacs', 'site-lisp', 'supercollider')
     #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))