--- /dev/null
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index 94766de..f6fb084 100644
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -12,10 +12,6 @@ html_DATA = \
+ $(HTML_FILES)
+ endif
+
+-if FVWM_BUILD_MANDOC
+ SUBDIRS = commands images docbook-xml docbook-xsl fvwm
+-else
+-SUBDIRS = commands images docbook-xml docbook-xsl
+-endif
+
+ all: $(doc_DATA)