464edef4c270c441ddc4c155be8c5895f9f6116e
[elisp/apel.git] / APEL-MK
1 ;;; -*-Emacs-Lisp-*-
2 ;;;
3 ;;; $Id: APEL-MK,v 0.0 1997-03-14 07:23:48 morioka Exp $
4 ;;;
5
6 (defun config-apel ()
7   (let (prefix)
8     (setq prefix (car command-line-args-left))
9     (and prefix
10          (not (string-equal "NONE" prefix))
11          (progn
12            (defvar PREFIX prefix)
13            (setq command-line-args-left (cdr command-line-args-left))
14            ))
15     (load-file "APEL-CFG")
16     (load-file "APEL-ELS")
17     (princ (format "PREFIX=%s\n" PREFIX))
18     ))
19
20 (defun compile-apel ()
21   (config-apel)
22   (compile-elisp-modules apel-modules   ".")
23   )
24
25 (defun install-apel ()
26   (config-apel)
27   (install-elisp-modules apel-modules   "./"    APEL_DIR)
28   )
29
30 ;;; APEL-MK ends here