pacemaker/stonith-manpage.patch

28 lines
1023 B
Diff
Raw Normal View History

2011-04-27 07:30:30 +00:00
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 $<