Make sure that all cref files are built.
authorChris Hanson <org/chris-hanson/cph>
Tue, 19 Dec 2000 20:57:10 +0000 (20:57 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 19 Dec 2000 20:57:10 +0000 (20:57 +0000)
v7/src/etc/compile.scm

index d290e9b4bc1281938c3102a95640deebc3c9f968..b7fccdc51d5a0926202220862b4eabb451f251ab 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: compile.scm,v 1.1 2000/12/07 21:50:48 cph Exp $
+$Id: compile.scm,v 1.2 2000/12/19 20:57:10 cph Exp $
 
 Copyright (c) 2000 Massachusetts Institute of Technology
 
@@ -37,6 +37,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
                  (load (pathname-new-type name "sf"))
                  (load (pathname-new-type name "cbf")))))
            '("runtime" "sf" "compiler" "edwin" "6001"))
+  (with-working-directory-pathname "cref"
+    (lambda ()
+      (if (not (file-exists? "cref.con"))
+         (load "cref.sf"))))
   (for-each (lambda (name)
              (load (merge-pathnames "compile" (pathname-as-directory name))))
            '("sos" "imail"))