From 61e0e3e8125cfdc247cdcb99c83b89fb411d8157 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 11 Sep 1998 09:26:17 +0000 Subject: [PATCH] (config-flim-package): New function. (compile-flim-package): New function. (install-flim-package): New function. --- FLIM-MK | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/FLIM-MK b/FLIM-MK index b76594e..3c15149 100644 --- a/FLIM-MK +++ b/FLIM-MK @@ -1,6 +1,6 @@ ;;; -*-Emacs-Lisp-*- ;;; -;;; $Id: FLIM-MK,v 1.1 1998-04-13 13:08:14 morioka Exp $ +;;; $Id: FLIM-MK,v 1.2 1998-09-11 09:26:17 morioka Exp $ ;;; (defun config-flim () @@ -31,4 +31,39 @@ LISPDIR=%s\n" PREFIX LISPDIR)) (install-elisp-modules flim-modules "./" FLIM_DIR) ) +(defun config-flim-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 "FLIM-CFG") + (load-file "FLIM-ELS") + (setq flim-modules (append flim-modules + '(auto-autoloads custom-load))) + (princ (format "PACKAGEDIR=%s\n" PACKAGEDIR)) + )) + +(defun compile-flim-package () + (config-flim-package) + (compile-elisp-modules flim-modules ".") + ;; (setq autoload-package-name "flim") + ;; (add-to-list 'command-line-args-left ".") + ;; (batch-update-directory) + ;; (add-to-list 'command-line-args-left ".") + ;; (Custom-make-dependencies) + ;; (byte-compile-file "auto-autoloads.el") + ;; (byte-compile-file "custom-load.el") + ) + +(defun install-flim-package () + (config-flim-package) + (install-elisp-modules flim-modules + "./" + (expand-file-name FLIM_PREFIX + (expand-file-name "lisp" + PACKAGEDIR))) + ) + ;;; FLIM-MK ends here -- 1.7.10.4