diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-08-15 12:32:06 +0930 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-08-19 15:57:50 -0700 |
commit | 3e11421e7476d968a3d550491279d0ad6b6c398f (patch) | |
tree | f7b5e1e6873bc6217343fbcd6bb1703ee8b4b47b /lib/ntdb/wscript | |
parent | 4f96d5753ffe6c446c46676ba31cd2a3722890a0 (diff) | |
download | samba-3e11421e7476d968a3d550491279d0ad6b6c398f.tar.gz samba-3e11421e7476d968a3d550491279d0ad6b6c398f.tar.bz2 samba-3e11421e7476d968a3d550491279d0ad6b6c398f.zip |
Man pages for ntdb tools missing
Copied and modified from tdb man pages. Avoided reproducing API documentation
which is extensively documented in the ntdb.h header already.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10000
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/ntdb/wscript')
-rw-r--r-- | lib/ntdb/wscript | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/ntdb/wscript b/lib/ntdb/wscript index 63c8402d66..ce66c92fda 100644 --- a/lib/ntdb/wscript +++ b/lib/ntdb/wscript @@ -121,6 +121,8 @@ def configure(conf): Logs.warn('Disabling pyntdb as python devel libs not found') conf.env.disable_python = True + conf.CHECK_XSLTPROC_MANPAGES() + # This make #include <ccan/...> work. conf.ADD_EXTRA_INCLUDES('''#lib''') @@ -152,7 +154,8 @@ def build(bld): public_headers='ntdb.h', public_headers_install=not private_library, pc_files='ntdb.pc', - private_library=private_library) + private_library=private_library, + manpages='man/ntdb.3') bld.SAMBA_BINARY('ntdbtorture', 'tools/ntdbtorture.c', @@ -161,19 +164,19 @@ def build(bld): bld.SAMBA_BINARY('ntdbtool', 'tools/ntdbtool.c', - deps='ntdb') + deps='ntdb', manpages='man/ntdbtool.8') bld.SAMBA_BINARY('ntdbdump', 'tools/ntdbdump.c', - deps='ntdb') + deps='ntdb', manpages='man/ntdbdump.8') bld.SAMBA_BINARY('ntdbrestore', 'tools/ntdbrestore.c', - deps='ntdb') + deps='ntdb', manpages='man/ntdbrestore.8') bld.SAMBA_BINARY('ntdbbackup', 'tools/ntdbbackup.c', - deps='ntdb') + deps='ntdb', manpages='man/ntdbbackup.8') if bld.env.DEVELOPER_MODE: # FIXME: We need CCAN for some API tests, but waf thinks it's |