[svn] commit: r1506 - in /trunk/src/bin: auth/ bind10/ bindctl/ cfgmgr/ cmdctl/ host/ loadzone/ msgq/ usermgr/ xfrin/
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Mar 18 04:10:25 UTC 2010
Author: jreed
Date: Thu Mar 18 04:10:25 2010
New Revision: 1506
Log:
Add several new manual pages in nroff format. These are generated
from docbook format (already in svn).
This updates bindctl.1 and msgq.8 already in svn.
Add Makefile.am additions so these are installed and also
to regenerate them. Assuming the nroff version is newer than the xml
version, make won't need to regenerate. It is created using
xsltproc. But this shouldn't be a build requirement -- so
may need to redo this if notice any problem.
Also in the loadzone makefile, create the localstatedir. (Not
really needed since other makefile creates, but just in
case this becomes standalone.)
Added:
trunk/src/bin/auth/b10-auth.8
trunk/src/bin/bind10/bind10.8
trunk/src/bin/cfgmgr/b10-cfgmgr.8
trunk/src/bin/cmdctl/b10-cmdctl.8
trunk/src/bin/loadzone/b10-loadzone.8
trunk/src/bin/usermgr/b10-cmdctl-usermgr.8
trunk/src/bin/xfrin/b10-xfrin.8
Modified:
trunk/src/bin/auth/Makefile.am
trunk/src/bin/bind10/Makefile.am
trunk/src/bin/bindctl/Makefile.am
trunk/src/bin/bindctl/bindctl.1
trunk/src/bin/cfgmgr/Makefile.am
trunk/src/bin/cmdctl/Makefile.am
trunk/src/bin/host/Makefile.am
trunk/src/bin/loadzone/Makefile.am
trunk/src/bin/msgq/Makefile.am
trunk/src/bin/msgq/msgq.8
trunk/src/bin/usermgr/Makefile.am
trunk/src/bin/xfrin/Makefile.am
Modified: trunk/src/bin/auth/Makefile.am
==============================================================================
--- trunk/src/bin/auth/Makefile.am (original)
+++ trunk/src/bin/auth/Makefile.am Thu Mar 18 04:10:25 2010
@@ -10,6 +10,12 @@
pkglibexecdir = $(libexecdir)/@PACKAGE@
CLEANFILES = *.gcno *.gcda
+
+man_MANS = b10-auth.8
+EXTRA_DIST = $(man_MANS) b10-auth.xml
+
+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
pkglibexec_PROGRAMS = b10-auth
b10_auth_SOURCES = auth_srv.cc auth_srv.h
@@ -31,5 +37,5 @@
b10_authdir = $(DESTDIR)$(pkgdatadir)
b10_auth_DATA = auth.spec
-EXTRA_DIST = auth.spec
+EXTRA_DIST += auth.spec
Modified: trunk/src/bin/bind10/Makefile.am
==============================================================================
--- trunk/src/bin/bind10/Makefile.am (original)
+++ trunk/src/bin/bind10/Makefile.am Thu Mar 18 04:10:25 2010
@@ -5,8 +5,13 @@
bind10dir = $(DESTDIR)$(pkgdatadir)
bind10_DATA = bob.spec
+EXTRA_DIST = bob.spec
-EXTRA_DIST = bob.spec
+man_MANS = bind10.8
+EXTRA_DIST += $(man_MANS) bind10.xml
+
+bind10.8: bind10.xml
+ xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/bind10.xml
# TODO: does this need $$(DESTDIR) also?
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
Modified: trunk/src/bin/bindctl/Makefile.am
==============================================================================
--- trunk/src/bin/bindctl/Makefile.am (original)
+++ trunk/src/bin/bindctl/Makefile.am Thu Mar 18 04:10:25 2010
@@ -1,7 +1,7 @@
bin_SCRIPTS = bindctl
man_MANS = bindctl.1
-EXTRA_DIST = $(man_MANS)
+EXTRA_DIST = $(man_MANS) bindctl.xml
python_PYTHON = __init__.py bindcmd.py cmdparse.py exception.py moduleinfo.py mycollections.py
pythondir = $(pyexecdir)/bindctl
@@ -12,6 +12,9 @@
CLEANFILES = bindctl
+bindctl.1: bindctl.xml
+ xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/bindctl.xml
+
bindctl: bindctl-source.py
$(SED) -e "s|@@PYTHONPATH@@|@pyexecdir@|" \
-e "s|@@SYSCONFDIR@@|@sysconfdir@|" \
Modified: trunk/src/bin/bindctl/bindctl.1
==============================================================================
--- trunk/src/bin/bindctl/bindctl.1 (original)
+++ trunk/src/bin/bindctl/bindctl.1 Thu Mar 18 04:10:25 2010
@@ -1,188 +1,84 @@
-.\" Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
-.Dd January 19, 2010
-.Dt BINDCTL 1
-.Os
-.Sh NAME
-.Nm bindctl
-.Nd control and configure BIND 10
-.Sh SYNOPSIS
-.\" TODO: option to choose the command channel?
-.Nm
-.Sh DESCRIPTION
+'\" t
+.\" Title: bindctl
+.\" Author: [see the "AUTHORS" section]
+.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
+.\" Date: January 19, 2010
+.\" Manual: BIND10
+.\" Source: BIND10
+.\" Language: English
+.\"
+.TH "BINDCTL" "1" "January 19, 2010" "BIND10" "BIND10"
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+bindctl \- control and configure BIND 10
+.SH "SYNOPSIS"
+.HP \w'\fBbindctl\fR\ 'u
+\fBbindctl\fR
+.SH "DESCRIPTION"
+.PP
The
-.Nm
-tool is a user interface to the BIND 10 services.
-The program can be used to control the components
-and configure the BIND 10 options.
-The options may be specified as command-line arguments,
-or via the interactive command interpreter.
-.\" TODO: command-line arguments?
-.Pp
-.Nm
-must communicate over a
-.Xr msgq 8
-C-Channel
-connection.
-If this connection is not established,
-.Nm
-will exit.
-.\" TODO: what if msgq is running but no BindCtl or Boss groups?
-.Pp
+\fBbindctl\fR
+tool is a user interface to the BIND 10 services\&. The program can be used to control the components and configure the BIND 10 options\&. The options may be specified
+via its interactive command interpreter\&.
+.PP
The
-.Nm
+\fBbindctl\fR
prompt shows
-.Dq "\*[Gt] " .
-The prompt will also display the location if changed.
-The options are based on the module in use.
+\(lq> \(rq\&. The prompt will also display the location if changed\&. The options are based on the module in use\&. The usage is:
+\fBmodule\fR
+\fBcommand\fR
+\fIparam1 = value1 , \fR\fI\fIparam2 = value2\fR\fR
+.PP
+
+\fBbindctl\fR\'s interactive interface provides command\-line completion and hints\&. Press the Tab key to get a hint for the module, command, and/or parameters\&.
+The arrow keys and Emacs\-style editing keys may be used to edit and recall previous lines\&.
+.PP
+You can use the
+\fBhelp\fR
+keyword to receive usage assistance for a module or a module\'s command\&.
+.PP
The
-.Nm
-usage is:
-.Pp
-.Ic module Ic command Op Ar "param1 = value1" Op Ar ", param2 = value2"
-.Pp
-.Nm Ap s
-interactive interface provides command-line completion and hints.
-Press the
-.Li Tab
-key to get a hint for the module, command, and/or parameters.
-.\" TODO: no hints at a blank line though
-The arrow keys and Emacs-style editing keys may be used to edit
-and recall previous lines.
-.\" TODO: all Emacs-style editing keys?
-.Pp
-You can use the
-.Ic help
-keyword to receive usage assistance for a module or a module's
-command.
-.Pp
+\fBquit\fR
+command is used to exit
+\fBbindctl\fR
+(and doesn\'t stop the BIND 10 services)\&.
+.PP
+The following module is available by default:
+\fBconfig\fR
+for Configuration commands\&.
+Additional modules may be available, such as
+\fBBoss\fR,
+\fBXfrin\fR, and
+\fBAuth\fR\&.
+.SH "SEE ALSO"
+.PP
+
+\fBb10-auth\fR(8),
+\fBb10-cfgmgr\fR(8),
+\fBb10-cmdctl\fR(8),
+\fBb10-xfrin\fR(8),
+\fBbind10\fR(8),
+\fBmsgq\fR(8),
+BIND 10 User Guide\&.
+.SH "AUTHORS"
+.PP
The
-.Ic quit
-command is used to exit
-.Nm
-(and doesn't stop the BIND 10 services).
-.Pp
-The following modules are available by default:
-.Pp
-.Bl -tag -width ".Li config" -compact -offset indent
-.It Ic boss
-Control BIND 10 services.
-.It Ic config
-Configuration commands.
-.El
-Additional modules may be available, such as
-.Ic ParkingLot .
-.\" TODO
-.Sh BOSS COMMANDS
-.Bl -tag -width Ic
-.It Ic help
-Get help for the
-.Em boss
-module.
-.It Ic shutdown Op Ar module_name
-Stop the defined BIND 10 process.
-If
-.Ar module_name
-is not provided, then tell the
-.\" TODO: write this manual page
-.Xr boss 8
-process to stop all the BIND 10 processes.
-.El
-.Sh CONFIGURATION COMMANDS
-The following configuration commands are recognized by
-.Nm :
-.Bl -tag -width Ic
-.It Ic add Ar identifier Ar value
-Add a value to a list.
-.\" TODO: explain better
-.\" TODO: define list, map, others ...
-.\" TODO: why the value?
-.It Ic commit
-Commit all local changes.
-.\" TODO: what does this do?
-.It Ic go Ar identifier
-Go to the specified location within the configuration.
-.\" TODO: explain this
-.It Ic help
-Get help for the
-.Em config
-module.
-.It Ic remove Ar identifier Ar value
-Remove a value from a list.
-.\" TODO: why the value?
-.It Ic revert
-Revert all local changes (that have not been committed).
-.\" TODO: what does this do?
-.It Ic set Ar identifier Ar value
-Set a configuration value.
-.\" TODO
-.It Ic show Op Ar identifier.
-.\" TODO
-Show the currently set configuration values.
-If no
-.Ar identifier
-is given, the current location is used (as set by the
-.Ic go
-command).
-If a config option is a list or a map, the value is not
-shown directly, but must be requested separately.
-.\" TODO: example of this list or map
-.It Ic unset Ar identifier
-Remove a configuration value.
-If the option is mandatory, it will reset to the default value.
-.\" TODO: how to know default values before?
-.El
-.\" This manual page only covers builtin commands.
-.\" .Sh PARKINGLOT COMMANDS
-.\" .Bl -tag -width Ic
-.\" .It Ic help
-.\" Get help for the
-.\" .Em ParkingLot
-.\" module.
-.\" .It Ic print_message Ar string
-.\" Print the given message to stdout.
-.\" .El
-.\"
-.\" TODO: Command arguments which have embedded spaces may be quoted with
-.\" quote
-.\" .Sq \&"
-.\" marks.
-.Pp
-.Pp command-line editing?
-.Pp
-.Sh EXAMPLES
-The following are some
-.Nm
-examples:
-.Bl -tag -width abcde
-.It Ic "config help"
-Show the commands for the
-.Em config
-module.
-.It Ic "config go ParkingLot/"
-Go to the
-.Dq ParkingLot/
-configuration location.
-.It Ic "ParkingLot print_message help"
-Show the one-line description and parameter for the
-.Dq print_message
-command available from the external
-.Dq ParkingLot
-module.
-.\" TODO: why the trailing slash?
-.El
-.Sh SEE ALSO
-.Xr boss 8 ,
-.Xr msgq 8
-.\" TODO: write boss and msgq manual pages
-.\" .Sh STANDARDS
-.Sh HISTORY
+\fBbindctl\fR
+tool and library were initially coded by Zhang Likun of CNNIC for the BIND 10 project\&. The initial manual page was written by Jeremy C\&. Reed of ISC\&.
+.SH "HISTORY"
+.PP
The initial version (with internal name of
-.Dq BigTool )
-was started in October 2009.
-.Sh AUTHORS
-The
-.Nm
-tool and library were initially coded by Zhang Likun of CNNIC
-for the BIND 10 project.
-The initial manual page was written by Jeremy C. Reed of ISC.
-.\" .Sh BUGS
+\fBBigTool\fR) was started in October 2009\&.
+.SH "COPYRIGHT"
+.br
+Copyright \(co 2010 Internet Systems Consortium, Inc. ("ISC")
+.br
Modified: trunk/src/bin/cfgmgr/Makefile.am
==============================================================================
--- trunk/src/bin/cfgmgr/Makefile.am (original)
+++ trunk/src/bin/cfgmgr/Makefile.am Thu Mar 18 04:10:25 2010
@@ -6,6 +6,12 @@
b10_cfgmgrdir = @localstatedir@/@PACKAGE@
#B10_cfgmgr_DATA =
+
+man_MANS = b10-cfgmgr.8
+EXTRA_DIST = $(man_MANS) b10-cfgmgr.xml
+
+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
# TODO: does this need $$(DESTDIR) also?
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
Modified: trunk/src/bin/cmdctl/Makefile.am
==============================================================================
--- trunk/src/bin/cmdctl/Makefile.am (original)
+++ trunk/src/bin/cmdctl/Makefile.am Thu Mar 18 04:10:25 2010
@@ -16,6 +16,12 @@
CLEANFILES= b10-cmdctl
+man_MANS = b10-cmdctl.8
+EXTRA_DIST += $(man_MANS) b10-cmdctl.xml
+
+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
+
# TODO: does this need $$(DESTDIR) also?
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
b10-cmdctl: cmdctl.py
Modified: trunk/src/bin/host/Makefile.am
==============================================================================
--- trunk/src/bin/host/Makefile.am (original)
+++ trunk/src/bin/host/Makefile.am Thu Mar 18 04:10:25 2010
@@ -8,3 +8,9 @@
host_SOURCES = host.cc
host_LDADD = $(top_builddir)/src/lib/dns/.libs/libdns.a
host_LDADD += $(top_builddir)/src/lib/exceptions/.libs/libexceptions.a
+
+#man_MANS = host.1
+#EXTRA_DIST = $(man_MANS) host.xml
+#
+#host.1: host.xml
+# xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/host.xml
Modified: trunk/src/bin/loadzone/Makefile.am
==============================================================================
--- trunk/src/bin/loadzone/Makefile.am (original)
+++ trunk/src/bin/loadzone/Makefile.am Thu Mar 18 04:10:25 2010
@@ -1,9 +1,19 @@
bin_SCRIPTS = b10-loadzone
CLEANFILES = b10-loadzone
+
+man_MANS = b10-loadzone.8
+EXTRA_DIST = $(man_MANS) b10-loadzone.xml
+
+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
b10-loadzone: b10-loadzone.py
$(SED) -e "s|@@PYTHONPATH@@|@pyexecdir@|" \
-e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" \
-e "s|@@LIBEXECDIR@@|$(pkglibexecdir)|" b10-loadzone.py >$@
chmod a+x $@
+
+install-data-local:
+ $(mkinstalldirs) $(DESTDIR)/@localstatedir@/@PACKAGE@
+# TODO: permissions handled later
Modified: trunk/src/bin/msgq/Makefile.am
==============================================================================
--- trunk/src/bin/msgq/Makefile.am (original)
+++ trunk/src/bin/msgq/Makefile.am Thu Mar 18 04:10:25 2010
@@ -4,6 +4,12 @@
CLEANFILES = msgq
+man_MANS = msgq.8
+EXTRA_DIST = $(man_MANS) msgq.xml
+
+msgq.8: msgq.xml
+ xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/msgq.xml
+
# TODO: does this need $$(DESTDIR) also?
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
msgq: msgq.py
Modified: trunk/src/bin/msgq/msgq.8
==============================================================================
--- trunk/src/bin/msgq/msgq.8 (original)
+++ trunk/src/bin/msgq/msgq.8 Thu Mar 18 04:10:25 2010
@@ -1,79 +1,128 @@
-.\" Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
-.Dd January 21, 2010
-.Dt MSGQ 8
-.Os
-.Sh NAME
-.Nm msgq
-.Nd message routing daemon for the Command Channel
-.\" TODO: spell out CC
-.Sh SYNOPSIS
-.Nm
-.Op Fl m Ar number
-.Op Fl v
-.\" TODO: this seems wrong, what is correct for long options?
-.Op Fl msgq-port Ar number
-.Op Fl verbose
-.Sh DESCRIPTION
+'\" t
+.\" Title: msgq
+.\" Author: [see the "AUTHORS" section]
+.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
+.\" Date: January 21, 2010
+.\" Manual: BIND10
+.\" Source: BIND10
+.\" Language: English
+.\"
+.TH "MSGQ" "8" "January 21, 2010" "BIND10" "BIND10"
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+msgq \- message routing daemon for the Command Channel
+.SH "SYNOPSIS"
+.HP \w'\fBmsgq\fR\ 'u
+\fBmsgq\fR [\fB\-m\ \fR\fB\fInumber\fR\fR] [\fB\-v\fR] [\fB\-\-msgq\-port\ \fR\fB\fInumber\fR\fR] [\fB\-\-verbose\fR]
+.SH "DESCRIPTION"
+.PP
The
-.Nm
-daemon handles message routing for the Command Channel.
-.Pp
-The Command Channel is a message bus and subscription manager.
-Programs may subscribe to certain groups to receive messages
-for that group.
-Every new connection to the
-.Nm
-receives a unique identifier -- this is the local name.
-The commands it handles are:
-.Bl -tag -compact -offset indent
-.It getlname
-receive local name.
-.It send
-send a message to defined subscribers.
-.It subscribe
-add a subscription. This means it is a listener for messages
-for a specific group.
-.It unsubscribe
-remove a subscription.
-.El
-.Pp
-.Nm
-listens on 127.0.0.1.
-.Pp
-The
-.Nm
-daemon may be cleanly stopped by sending the
-.Dv SIGTERM
-signal to the process.
-This shutdown does not notify the subscribers.
-.Sh OPTIONS
+\fBmsgq\fR
+daemon provides message routing for the Command Channel\&.
+.PP
+The Command Channel is a message bus and subscription manager\&. Programs may subscribe to certain groups to receive messages for that group\&. Every new connection to the
+\fBmsgq\fR
+is assigned a unique identifier \-\- this is the local name\&. The commands it handles are:
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+
+\fBgetlname\fR
+\(em receive local name\&.
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+
+\fBsend\fR
+\(em send a message to defined subscribers\&.
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+
+\fBsubscribe\fR
+\(em add a subscription\&. This means it is a listener for messages for a specific group\&.
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+
+\fBunsubscribe\fR
+\(em remove a subscription\&.
+.RE
+.sp
+.RE
+.PP
+It listens on 127\&.0\&.0\&.1\&.
+.PP
+The
+\fBmsgq\fR
+daemon may be cleanly stopped by sending the SIGTERM signal to the process\&. This shutdown does not notify the subscribers\&.
+.SH "OPTIONS"
+.PP
The arguments are as follows:
-.
-.Bl -tag -width indent
-.It Fl m Ar number , Fl msgq-port Ar number
-The port
-.Ar number
-that
-.Nm
-will listen on.
-The default is 9912.
-.It Fl v , verbose
-Display more about what
-.Nm
-is doing.
-.El
-.\" .Sh SEE ALSO
-.\" TODO: point to Command channel specification or document some here.
-.\" .Sh STANDARDS
-.Sh HISTORY
-The python version of
-.Nm
-was first coded in December 2009.
-The C version with now deprecated wire format was coded in September
-2009.
-.Sh AUTHORS
+.PP
+\fB\-m \fR\fB\fInumber\fR\fR, \fB\-\-msgq\-port \fR\fB\fInumber\fR\fR
+.RS 4
+The port number that
+\fBmsgq\fR
+will listen on\&. The default is 9912\&.
+.RE
+.PP
+\fB\-v\fR, \fB\-\-verbose\fR
+.RS 4
+Enabled verbose mode\&. This enables diagnostic messages to STDERR\&. Displays more about what
+\fBmsgq\fR
+is doing\&.
+.RE
+.SH "SEE ALSO"
+.PP
+
+\fBbind10\fR(8),
+BIND 10 User Guide\&.
+.SH "AUTHORS"
+.PP
The
-.Nm
-daemon and Control Channel specification
-were initially designed by Michael Graff of ISC.
-.\" .Sh BUGS
+\fBmsgq\fR
+daemon and Control Channel specification were initially designed by Michael Graff of ISC\&.
+.SH "HISTORY"
+.PP
+The python version was first coded in December 2009\&. The C version with now deprecated wire format was coded in September 2009\&.
+.SH "COPYRIGHT"
+.br
+Copyright \(co 2010 Internet Systems Consortium, Inc. ("ISC")
+.br
Modified: trunk/src/bin/usermgr/Makefile.am
==============================================================================
--- trunk/src/bin/usermgr/Makefile.am (original)
+++ trunk/src/bin/usermgr/Makefile.am Thu Mar 18 04:10:25 2010
@@ -4,6 +4,12 @@
CLEANFILES= b10-cmdctl-usermgr
+man_MANS = b10-cmdctl-usermgr.8
+EXTRA_DIST = $(man_MANS) b10-cmdctl-usermgr.xml
+
+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
+
# 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
Modified: trunk/src/bin/xfrin/Makefile.am
==============================================================================
--- trunk/src/bin/xfrin/Makefile.am (original)
+++ trunk/src/bin/xfrin/Makefile.am Thu Mar 18 04:10:25 2010
@@ -9,6 +9,12 @@
CLEANFILES= b10-xfrin
+man_MANS = b10-xfrin.8
+EXTRA_DIST += $(man_MANS) b10-xfrin.xml
+
+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
+
# TODO: does this need $$(DESTDIR) also?
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
b10-xfrin: xfrin.py
More information about the bind10-changes
mailing list