diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-05-31 01:28:15 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-05-31 01:38:35 +0200 |
commit | 3e65af312c1250cbea8eea17d9705e1e2352262f (patch) | |
tree | 25edd5242191e749a32306c5fe729c428caf16e3 /source4/lib/ldb/wscript | |
parent | f757263fb3d56041d6778304e521bed55771aea1 (diff) | |
download | samba-3e65af312c1250cbea8eea17d9705e1e2352262f.tar.gz samba-3e65af312c1250cbea8eea17d9705e1e2352262f.tar.bz2 samba-3e65af312c1250cbea8eea17d9705e1e2352262f.zip |
ldb-waf: Fix installation path of manpages, simplify manpage handling.
Diffstat (limited to 'source4/lib/ldb/wscript')
-rw-r--r-- | source4/lib/ldb/wscript | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index 32ae58a6b6..517491419e 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -177,7 +177,7 @@ def build(bld): LDB_TOOLS='ldbadd ldbsearch ldbdel ldbmodify ldbedit ldbrename' for t in LDB_TOOLS.split(): - bld.SAMBA_BINARY(t, 'tools/%s.c' % t, deps='LIBLDB_CMDLINE') + bld.SAMBA_BINARY(t, 'tools/%s.c' % t, deps='LIBLDB_CMDLINE', manpages='man/%s.1' % t) # ldbtest doesn't get installed bld.SAMBA_BINARY('ldbtest', 'tools/ldbtest.c', deps='LIBLDB_CMDLINE', install=False) @@ -187,9 +187,7 @@ def build(bld): realname='ldb.so') if bld.env.XSLTPROC: - manpages = 'man/ad2oLschema.1 man/ldb.3 man/ldbadd.1 man/ldbdel.1 ' \ - 'man/ldbedit.1 man/ldbmodify.1 man/ldbrename.1 ' \ - 'man/ldbsearch.1 man/oLschema2ldif.1' + manpages = 'man/ad2oLschema.1 man/ldb.3 man/oLschema2ldif.1' bld.env.LDB_MAN_XSL = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl' @@ -200,7 +198,7 @@ def build(bld): target=m, rule='${XSLTPROC} -o ${TGT} ${LDB_MAN_XSL} ${SRC}' ) - bld.INSTALL_FILES('${MANDIR}/man1 ${MANDIR}/man3', m, flat=True) + bld.INSTALL_FILES('${MANDIR}/man%s' % m[-1], m, flat=True) def test(ctx): |