;;; -*-Emacs-Lisp-*-
-;;;
-;;; $Id: SEMI-MK,v 1.2 1998-03-13 12:55:52 morioka Exp $
-;;;
+
+;; SEMI-MK: installer for SEMI.
+
;;; Code:
(defun config-semi ()
(install-files METHODS METHOD_SRC_DIR METHOD_DIR nil t)
)
+(defun config-semi-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 "SEMI-CFG")
+ (load-file "SEMI-ELS")
+
+ (princ (format "PACKAGEDIR=%s\n" PACKAGEDIR))
+ ))
+
+(defun compile-semi-package ()
+ (config-semi-package)
+
+ (setq autoload-package-name "semi")
+ (add-to-list 'command-line-args-left ".")
+ (batch-update-directory)
+
+ (add-to-list 'command-line-args-left ".")
+ (Custom-make-dependencies)
+
+ (compile-elisp-modules (append semi-modules-to-compile
+ '(auto-autoloads custom-load))
+ ".")
+ )
+
+(defun install-semi-package ()
+ (config-semi-package)
+ (install-elisp-modules (append semi-modules
+ '(mime auto-autoloads custom-load))
+ "./"
+ (expand-file-name SEMI_PREFIX
+ (expand-file-name "lisp"
+ PACKAGEDIR)))
+ )
+
;;; SEMI-MK ends here