From b86676062384d1ead38f8102f6f1edd3d80ac414 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Fri, 4 Nov 1994 00:07:50 +0000
Subject: [PATCH] Build the spell dictionary.

---
 tools/hemcom.lisp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tools/hemcom.lisp b/tools/hemcom.lisp
index 2563acbac..cd5bf78af 100644
--- a/tools/hemcom.lisp
+++ b/tools/hemcom.lisp
@@ -187,6 +187,14 @@
 
 ) ;WITH-COMPILER-LOG-FILE
 
+(unless (probe-file "target:hemlock/spell-dictionary.bin")
+  (load "target:hemlock/spell-rt")
+  (load "target:hemlock/spell-corr")
+  (load "target:hemlock/spell-aug")
+  (load "target:hemlock/spell-build")
+  (funcall (fdefinition (intern "BUILD-DICTIONARY" "SPELL"))
+	   "target:hemlock/spell-dictionary.text"
+	   "target:hemlock/spell-dictionary.bin"))
 
 (cat-if-anything-changed
  "target:hemlock/hemlock-library"
-- 
GitLab