--- Imakefile.orig	Sun Jun 26 03:47:22 1994
+++ Imakefile	Fri Sep  8 10:48:05 2000
@@ -20,7 +20,7 @@ CFLAGS = -O 
             FONTSDIR = 
 #endif
           CLIENTSDIR = clients
-             SUBDIRS = $(COREDIRS) $(FONTSDIR) 
+             SUBDIRS ?= $(COREDIRS) $(FONTSDIR) 
 /**/# even if these subdirs are not included in the general rules, be sure to
 /**/# do a make clean in them.
        CLEAN_SUBDIRS = clients contrib doc fonts bitmaps images lib misc util
@@ -43,7 +43,7 @@ install::
 		echo "deleting temporary build directory $(BUILDINCDIR) ..."; \
 		$(RM) -r $(BUILDINCDIR); \
 	else exit 0; fi
-	$(MKDIRHIER) $(XVDESTDIR)
+	$(MKDIRHIER) $(DESTDIR)$(XVDESTDIR)
 #endif
 
 InstallManPage(xview,$(MANDIR))
