+xml-source/%.proc.xml: $(SRCMANPAGEDIR)/%.xml $(srcdir)/xslt/expand-sambadoc.xsl
+ @echo WARNING: $@ can not be generated: xsltproc is not available.
+
+%: xml-source/%.proc.xml $(srcdir)/xslt/man.xsl
+ @echo WARNING: $@ can not be generated: xsltproc is not available.
+
+endif # HAVE_XSLTPROC
+
+else # !BUILD_MAN_PAGES
+
+xml-source/%.proc.xml: $(SRCMANPAGEDIR)/%.xml $(srcdir)/xslt/expand-sambadoc.xsl
+ @echo Build of $@ skipped.
+
+%: xml-source/%.proc.xml $(srcdir)/xslt/man.xsl
+ @echo Build of $@ skipped.
+
+endif # BUILD_MAN_PAGES
+
+if BUILD_MAN_PAGES