diff -r 39bbb85636f1 fencing/Makefile.am --- a/fencing/Makefile.am Tue Apr 26 09:43:57 2011 +0200 +++ b/fencing/Makefile.am Wed Apr 27 12:00:39 2011 +0200 @@ -26,14 +26,19 @@ halib_PROGRAMS = stonithd stonith-test sbin_PROGRAMS = stonith_admin sbin_SCRIPTS = fence_legacy -if BUILD_HELP -man8_MANS = $(sbin_PROGRAMS:%=%.8) fence_legacy.8 stonithd.8 +man8_MANS = + +if BUILD_XML_HELP +man8_MANS += stonithd.8 stonithd.xml: stonithd - $(top_builddir)/fencing/$< metadata | $(XSLTPROC) --nonet --novalid --stringparam man.name $< $(top_srcdir)/xml/ocf-meta2man.xsl - > $(top_builddir)/crmd/$@ + $(top_builddir)/fencing/$< metadata | $(XSLTPROC) --nonet --novalid --stringparam man.name $< $(top_srcdir)/xml/ocf-meta2man.xsl - > $(top_builddir)/fencing/$@ stonithd.8: stonithd.xml - $(XSLTPROC) $(MANPAGE_XSLT) $(top_builddir)/crmd/$< + $(XSLTPROC) $(MANPAGE_XSLT) $(top_builddir)/fencing/$< +endif +if BUILD_HELP +man8_MANS += $(sbin_PROGRAMS:%=%.8) fence_legacy.8 %.8: % echo Creating $@ chmod a+x $<