Initial revision
[elisp/apel.git] / APEL-MK
diff --git a/APEL-MK b/APEL-MK
index 464edef..61902fe 100644 (file)
--- a/APEL-MK
+++ b/APEL-MK
@@ -1,6 +1,6 @@
 ;;; -*-Emacs-Lisp-*-
 ;;;
-;;; $Id: APEL-MK,v 0.0 1997-03-14 07:23:48 morioka Exp $
+;;; $Id: APEL-MK,v 0.2 1997-03-20 02:12:39 morioka Exp $
 ;;;
 
 (defun config-apel ()
           (setq command-line-args-left (cdr command-line-args-left))
           ))
     (load-file "APEL-CFG")
-    (load-file "APEL-ELS")
+    (or (boundp 'apel-modules)
+       (load-file "APEL-ELS")
+       )
     (princ (format "PREFIX=%s\n" PREFIX))
     ))
 
 (defun compile-apel ()
-  (config-apel)
+  (add-to-list 'load-path (expand-file-name "../emu"))
+  (add-to-list 'load-path ".")
+  (require 'install)
+  (load-file "APEL-ELS")
   (compile-elisp-modules apel-modules  ".")
   )
 
 (defun install-apel ()
+  (compile-apel)
   (config-apel)
-  (install-elisp-modules apel-modules  "./"    APEL_DIR)
+  (compile-elisp-modules apel-modules  ".")
+  (install-elisp-modules apel-modules  "."     APEL_DIR)
   )
 
 ;;; APEL-MK ends here