mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
Only regenerate manual pages if configure is ran with --enable-man.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1510 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
@@ -251,7 +251,10 @@ PKG_CHECK_MODULES(SQLITE, sqlite3 >= 3.3.9)
|
||||
AC_CHECK_HEADERS([boost/shared_ptr.hpp],,
|
||||
AC_MSG_ERROR([Missing required header files.]))
|
||||
|
||||
# Checks for library functions.
|
||||
AC_ARG_ENABLE(man, [AC_HELP_STRING([--enable-man],
|
||||
[regenerate man pages [default=no]])] ,enable_man=yes, enable_man=no)
|
||||
|
||||
AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno)
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
src/Makefile
|
||||
|
@@ -14,9 +14,13 @@ CLEANFILES = *.gcno *.gcda
|
||||
man_MANS = b10-auth.8
|
||||
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
|
||||
|
||||
endif
|
||||
|
||||
pkglibexec_PROGRAMS = b10-auth
|
||||
b10_auth_SOURCES = auth_srv.cc auth_srv.h
|
||||
b10_auth_SOURCES += common.h
|
||||
|
@@ -10,9 +10,13 @@ EXTRA_DIST = bob.spec
|
||||
man_MANS = bind10.8
|
||||
EXTRA_DIST += $(man_MANS) bind10.xml
|
||||
|
||||
if ENABLE_MAN
|
||||
|
||||
bind10.8: bind10.xml
|
||||
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/bind10.xml
|
||||
|
||||
endif
|
||||
|
||||
# TODO: does this need $$(DESTDIR) also?
|
||||
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
|
||||
bind10: bind10.py
|
||||
|
@@ -12,9 +12,13 @@ EXTRA_DIST += bindctl.pem
|
||||
|
||||
CLEANFILES = bindctl
|
||||
|
||||
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
|
||||
|
||||
endif
|
||||
|
||||
bindctl: bindctl-source.py
|
||||
$(SED) -e "s|@@PYTHONPATH@@|@pyexecdir@|" \
|
||||
-e "s|@@SYSCONFDIR@@|@sysconfdir@|" \
|
||||
|
@@ -10,9 +10,13 @@ b10_cfgmgrdir = @localstatedir@/@PACKAGE@
|
||||
man_MANS = b10-cfgmgr.8
|
||||
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
|
||||
|
||||
endif
|
||||
|
||||
# TODO: does this need $$(DESTDIR) also?
|
||||
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
|
||||
b10-cfgmgr: b10-cfgmgr.py
|
||||
|
@@ -19,9 +19,13 @@ CLEANFILES= b10-cmdctl
|
||||
man_MANS = b10-cmdctl.8
|
||||
EXTRA_DIST += $(man_MANS) b10-cmdctl.xml
|
||||
|
||||
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
|
||||
|
||||
endif
|
||||
|
||||
# TODO: does this need $$(DESTDIR) also?
|
||||
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
|
||||
b10-cmdctl: cmdctl.py
|
||||
|
@@ -12,5 +12,9 @@ host_LDADD += $(top_builddir)/src/lib/exceptions/.libs/libexceptions.a
|
||||
#man_MANS = host.1
|
||||
#EXTRA_DIST = $(man_MANS) host.xml
|
||||
#
|
||||
#if ENABLE_MAN
|
||||
#
|
||||
#host.1: host.xml
|
||||
# xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/host.xml
|
||||
#
|
||||
#endif
|
||||
|
@@ -5,9 +5,13 @@ CLEANFILES = b10-loadzone
|
||||
man_MANS = b10-loadzone.8
|
||||
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
|
||||
|
||||
endif
|
||||
|
||||
b10-loadzone: b10-loadzone.py
|
||||
$(SED) -e "s|@@PYTHONPATH@@|@pyexecdir@|" \
|
||||
-e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" \
|
||||
|
@@ -7,9 +7,13 @@ CLEANFILES = msgq
|
||||
man_MANS = msgq.8
|
||||
EXTRA_DIST = $(man_MANS) msgq.xml
|
||||
|
||||
if ENABLE_MAN
|
||||
|
||||
msgq.8: msgq.xml
|
||||
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/msgq.xml
|
||||
|
||||
endif
|
||||
|
||||
# TODO: does this need $$(DESTDIR) also?
|
||||
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
|
||||
msgq: msgq.py
|
||||
|
@@ -7,9 +7,13 @@ CLEANFILES= b10-cmdctl-usermgr
|
||||
man_MANS = b10-cmdctl-usermgr.8
|
||||
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
|
||||
|
||||
endif
|
||||
|
||||
# TODO: does this need $$(DESTDIR) also?
|
||||
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
|
||||
b10-cmdctl-usermgr: b10-cmdctl-usermgr.py
|
||||
|
@@ -12,9 +12,13 @@ CLEANFILES= b10-xfrin
|
||||
man_MANS = b10-xfrin.8
|
||||
EXTRA_DIST += $(man_MANS) b10-xfrin.xml
|
||||
|
||||
if ENABLE_MAN
|
||||
|
||||
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
|
||||
|
||||
endif
|
||||
|
||||
# TODO: does this need $$(DESTDIR) also?
|
||||
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
|
||||
b10-xfrin: xfrin.py
|
||||
|
Reference in New Issue
Block a user