diff --git a/pengine/Makefile.am b/pengine/Makefile.am index 521b142..ffb8267 100644 --- a/pengine/Makefile.am +++ b/pengine/Makefile.am @@ -42,8 +42,16 @@ lib_LTLIBRARIES = libpengine.la ## binary progs halib_PROGRAMS = pengine +sbin_PROGRAMS = ptest man7_MANS = +man8_MANS = + +if BUILD_HELP +man8_MANS += ptest.8 +ptest.8: ptest + $(HELP2MAN) --output $@ --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" $(top_builddir)/pengine/$< +endif if BUILD_XML_HELP man7_MANS += pengine.7 @@ -72,6 +80,11 @@ pengine_LDADD = $(top_builddir)/lib/cib/libcib.la $(COMMONLIBS) # libcib for get_object_root() # $(top_builddir)/lib/hbclient/libhbclient.la +ptest_SOURCES = ptest.c +ptest_LDADD = $(top_builddir)/lib/cib/libcib.la \ + $(top_builddir)/lib/transition/libtransitioner.la \ + $(COMMONLIBS) + install-exec-local: $(mkinstalldirs) $(DESTDIR)/$(PE_STATE_DIR) -chown $(CRM_DAEMON_USER) $(DESTDIR)/$(PE_STATE_DIR)