CLEANFILES += auth_messages.h auth_messages.cc
man_MANS = b10-auth.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-auth.xml
if ENABLE_MAN
b10-auth.8: b10-auth.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-auth.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
auth.spec: auth.spec.pre
bindctldir = $(pkgdatadir)
CLEANFILES = bindctl bindctl_main.pyc
+CLEANFILES += $(man_MANS)
if ENABLE_MAN
bindctl.1: bindctl.xml
- xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/bindctl.xml
+ @XSLTPROC@ --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/bindctl.xml
+
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
endif
#B10_cfgmgr_DATA =
man_MANS = b10-cfgmgr.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-cfgmgr.xml
if ENABLE_MAN
b10-cfgmgr.8: b10-cfgmgr.xml
- xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-cfgmgr.xml
+ @XSLTPROC@ --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-cfgmgr.xml
+
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
endif
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/cmdctl_messages.pyc
man_MANS = b10-cmdctl.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST += $(man_MANS) b10-cmdctl.xml cmdctl_messages.mes
if ENABLE_MAN
b10-cmdctl.8: b10-cmdctl.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-cmdctl.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
cmdctl.spec: cmdctl.spec.pre
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/dbutil_messages.py
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/dbutil_messages.pyc
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/dbutil_messages.pyo
+CLEANFILES += $(man_MANS)
if ENABLE_MAN
b10-dbutil.8: b10-dbutil.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-dbutil.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
# Define rule to build logging source files from message file
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/ddns_messages.pyc
EXTRA_DIST = ddns_messages.mes ddns.spec
+
man_MANS = b10-ddns.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST += $(man_MANS) b10-ddns.xml
if ENABLE_MAN
b10-ddns.8: b10-ddns.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-ddns.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
# Define rule to build logging source files from message file
CLEANFILES = spec_config.h
man_MANS = b10-dhcp4.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-dhcp4.xml dhcp4.spec
if ENABLE_MAN
xsltproc --novalid --xinclude --nonet -o $@ \
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
$(srcdir)/b10-dhcp4.xml
+
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
spec_config.h: spec_config.h.pre
CLEANFILES = spec_config.h
man_MANS = b10-dhcp6.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-dhcp6.xml dhcp6.spec
if ENABLE_MAN
xsltproc --novalid --xinclude --nonet -o $@ \
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
$(srcdir)/b10-dhcp6.xml
+
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
spec_config.h: spec_config.h.pre
b10_host_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
man_MANS = b10-host.1
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-host.xml
.PHONY: man
b10-host.1: b10-host.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-host.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
CLEANFILES = b10-loadzone
man_MANS = b10-loadzone.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-loadzone.xml
if ENABLE_MAN
b10-loadzone.8: b10-loadzone.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-loadzone.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
b10-loadzone: b10-loadzone.py
CLEANFILES = b10-msgq msgq.pyc
man_MANS = b10-msgq.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) msgq.xml
if ENABLE_MAN
b10-msgq.8: msgq.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/msgq.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
CLEANFILES += resolver_messages.cc resolver_messages.h
man_MANS = b10-resolver.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-resolver.xml resolver_messages.mes
if ENABLE_MAN
b10-resolver.8: b10-resolver.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-resolver.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
resolver.spec: resolver.spec.pre
man_MANS = \
$(MAN1_FILES:.xml=.1)
+CLEANFILES += $(man_MANS)
if ENABLE_MAN
.xml.1:
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
EXTRA_DIST = $(man_MANS) $(MAN1_FILES)
CLEANFILES = *.gcno *.gcda
man_MANS = b10-sockcreator.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-sockcreator.xml
if ENABLE_MAN
b10-sockcreator.8: b10-sockcreator.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-sockcreator.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
pkglibexec_PROGRAMS = b10-sockcreator
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/stats_httpd_messages.pyc
man_MANS = b10-stats.8 b10-stats-httpd.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-stats.xml b10-stats-httpd.xml
EXTRA_DIST += stats.spec stats-httpd.spec
EXTRA_DIST += stats-httpd-xml.tpl stats-httpd-xsd.tpl stats-httpd-xsl.tpl
b10-stats-httpd.8: b10-stats-httpd.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-stats-httpd.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
$(PYTHON_LOGMSGPKG_DIR)/work/stats_messages.py : stats_messages.mes
CLEANFILES= b10-cmdctl-usermgr
man_MANS = b10-cmdctl-usermgr.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-cmdctl-usermgr.xml
if ENABLE_MAN
b10-cmdctl-usermgr.8: b10-cmdctl-usermgr.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-cmdctl-usermgr.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/xfrin_messages.pyc
man_MANS = b10-xfrin.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-xfrin.xml
EXTRA_DIST += xfrin.spec xfrin_messages.mes
b10-xfrin.8: b10-xfrin.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-xfrin.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
# Define rule to build logging source files from message file
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/xfrout_messages.pyc
man_MANS = b10-xfrout.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-xfrout.xml xfrout_messages.mes
if ENABLE_MAN
b10-xfrout.8: b10-xfrout.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-xfrout.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
# Define rule to build logging source files from message file
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/zonemgr_messages.pyc
man_MANS = b10-zonemgr.8
+CLEANFILES += $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-zonemgr.xml zonemgr_messages.mes
if ENABLE_MAN
b10-zonemgr.8: b10-zonemgr.xml
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-zonemgr.xml
+else
+
+$(man_MANS):
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
+
endif
# Build logging source file from message files