3 ;;; $Id: FLIM-MK,v 1.2 1998-09-11 09:26:17 morioka Exp $
8 (and (setq prefix (car command-line-args-left))
9 (or (string-equal "NONE" prefix)
10 (defvar PREFIX prefix)
12 (setq command-line-args-left (cdr command-line-args-left))
13 (and (setq lisp-dir (car command-line-args-left))
14 (or (string-equal "NONE" lisp-dir)
15 (defvar LISPDIR lisp-dir)
17 (setq command-line-args-left (cdr command-line-args-left))
18 (load-file "FLIM-CFG")
19 (load-file "FLIM-ELS")
20 (princ (format "PREFIX=%s
21 LISPDIR=%s\n" PREFIX LISPDIR))
24 (defun compile-flim ()
26 (compile-elisp-modules flim-modules ".")
29 (defun install-flim ()
31 (install-elisp-modules flim-modules "./" FLIM_DIR)
34 (defun config-flim-package ()
36 (and (setq package-dir (car command-line-args-left))
37 (or (string= "NONE" package-dir)
38 (defvar PACKAGEDIR package-dir)
40 (setq command-line-args-left (cdr command-line-args-left))
41 (load-file "FLIM-CFG")
42 (load-file "FLIM-ELS")
43 (setq flim-modules (append flim-modules
44 '(auto-autoloads custom-load)))
45 (princ (format "PACKAGEDIR=%s\n" PACKAGEDIR))
48 (defun compile-flim-package ()
50 (compile-elisp-modules flim-modules ".")
51 ;; (setq autoload-package-name "flim")
52 ;; (add-to-list 'command-line-args-left ".")
53 ;; (batch-update-directory)
54 ;; (add-to-list 'command-line-args-left ".")
55 ;; (Custom-make-dependencies)
56 ;; (byte-compile-file "auto-autoloads.el")
57 ;; (byte-compile-file "custom-load.el")
60 (defun install-flim-package ()
62 (install-elisp-modules flim-modules
64 (expand-file-name FLIM_PREFIX
65 (expand-file-name "lisp"