--- Makefile.rules.orig	Sat Sep 16 19:43:08 1995
+++ Makefile.rules	Sat Nov 29 00:40:09 1997
@@ -28,13 +28,19 @@
 	$(RM) gst gst.im
 
 installdirs:
-	$(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(smlibdir) $(infodir) \
-		 $(stdir)
+	if [ ! -d $(smlibdir) ]; then \
+	    $(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(smlibdir) $(infodir) \
+		 $(stdir); \
+	fi
 
 #Note: this definition of install is most likely incorrect
 install:: installdirs all 
-	$(INSTALL_PROGRAM) gst $(bindir)/$(binprefix)gst
-	@INSTALL_ST_FILES@
+	if [ -f gst ]; then \
+	  $(INSTALL_PROGRAM) gst $(bindir)/$(binprefix)gst ; \
+	fi
+	for file in $(SMALLTALK_KERNEL); do \
+	  $(INSTALL_DATA) $$file $(stdir)/$$file ; \
+	done
 
 #install uninstall TAGS clean mostlyclean distclean realclean::
 install uninstall clean mostlyclean distclean realclean::
