summaryrefslogtreecommitdiff
path: root/lib/talloc/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-05-31 12:08:01 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-05-31 13:56:25 +0200
commitf98bb7ffc33bf161caf301c50c55c8e3cc858b85 (patch)
tree1137d0c8f3c9bf2d67e07d67bb634fb6c062458b /lib/talloc/wscript
parentcc77e7966ea95ccc0812dd772a9002b41792e6b8 (diff)
downloadsamba-f98bb7ffc33bf161caf301c50c55c8e3cc858b85.tar.gz
samba-f98bb7ffc33bf161caf301c50c55c8e3cc858b85.tar.bz2
samba-f98bb7ffc33bf161caf301c50c55c8e3cc858b85.zip
Add manpages argument to SAMBA_LIBRARY().
Diffstat (limited to 'lib/talloc/wscript')
-rw-r--r--lib/talloc/wscript19
1 files changed, 2 insertions, 17 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index 61930f67e3..45886a553e 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -60,7 +60,8 @@ def build(bld):
abi_file='ABI/talloc-%s.sigs' % VERSION,
abi_match='talloc* _talloc*',
hide_symbols=True,
- vnum=VERSION, is_bundled=True)
+ vnum=VERSION, is_bundled=True,
+ manpages='talloc.3')
# should we also install the symlink to libtalloc1.so here?
bld.SAMBA_LIBRARY('talloc-compat1',
@@ -82,22 +83,6 @@ def build(bld):
bld.PKG_CONFIG_FILES('talloc.pc', vnum=VERSION)
bld.INSTALL_FILES('${INCLUDEDIR}', 'talloc.h')
- if bld.env.XSLTPROC:
- bld.env.TALLOC_MAN_XSL = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
- bld.env.TALLOC_WEB_XSL = 'http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl'
- bld.SAMBA_GENERATOR('talloc.3',
- source='talloc.3.xml',
- target='talloc.3',
- rule='${XSLTPROC} -o ${TGT} ${TALLOC_MAN_XSL} ${SRC}'
- )
- bld.SAMBA_GENERATOR('talloc.3.html',
- source='talloc.3.xml',
- target='talloc.3.html',
- rule='${XSLTPROC} -o ${TGT} ${TALLOC_WEB_XSL} ${SRC}'
- )
- bld.INSTALL_FILES('${MANDIR}/man3', 'talloc.3')
-
-
def test(ctx):
'''run talloc testsuite'''
import Utils