-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIDS-MK
49 lines (39 loc) · 1.13 KB
/
IDS-MK
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
;;; -*-Emacs-Lisp-*-
;; IDS-MK: installer for IDS.
;;; Code:
(defun config-ids-package ()
(let (package-dir)
(and (setq package-dir (car command-line-args-left))
(or (string= "NONE" package-dir)
(defvar PACKAGEDIR package-dir)
))
(setq command-line-args-left (cdr command-line-args-left))
(load-file "IDS-CFG")
(load-file "IDS-ELS")
(princ (format "PACKAGEDIR=%s\n" PACKAGEDIR))
))
(defun compile-ids-package ()
(config-ids-package)
(setq autoload-package-name "ids")
(add-to-list 'command-line-args-left ".")
(batch-update-directory)
(add-to-list 'command-line-args-left ".")
(Custom-make-dependencies)
(compile-elisp-modules (append ids-modules-to-compile
'(auto-autoloads custom-load))
".")
)
(defun install-ids-package ()
(config-ids-package)
(install-elisp-modules (append ids-modules
'(auto-autoloads
;; custom-load
))
"./"
(expand-file-name IDS_PREFIX
(expand-file-name "lisp"
PACKAGEDIR)))
(delete-file "./auto-autoloads.el")
;; (delete-file "./custom-load.el")
)
;;; IDS-MK ends here