--- Imakefile.orig	Fri Dec 15 04:24:23 2000
+++ Imakefile	Wed Dec 20 16:22:14 2000
@@ -16,7 +16,11 @@
 HARDCOPYDIR = hardcopy
 #endif
 
+#if defined(FreeBSDBuildXdoc) || FreeBSDBuildXdoc
+SUBDIRS = $(MISCDIR) $(SPECSDIR) $(HARDCOPYDIR)
+#else
 SUBDIRS = man $(MISCDIR) $(SPECSDIR) $(HARDCOPYDIR)
+#endif
 
 all::
 
