summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-06-17 08:44:53 +0200
committerStefan Metzmacher <metze@samba.org>2010-06-17 09:11:57 +0200
commite80f576db66ad04592ac436ed74ceb9b96452060 (patch)
tree639fe2289a27f6668b0bf0e114643a0552102e78
parent93280974b8fb236b212b9116a1d8921329e5e1d8 (diff)
downloadsamba-e80f576db66ad04592ac436ed74ceb9b96452060.tar.gz
samba-e80f576db66ad04592ac436ed74ceb9b96452060.tar.bz2
samba-e80f576db66ad04592ac436ed74ceb9b96452060.zip
pidl/wscript: call pod2man with the detected perl version
Some systems like SLES11 have a broken perl path in pod2man. metze
-rw-r--r--pidl/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/pidl/wscript b/pidl/wscript
index 0c3c4150b0..cdba69210f 100644
--- a/pidl/wscript
+++ b/pidl/wscript
@@ -15,6 +15,7 @@ def configure(conf):
# yapp is used for building the parser
conf.find_program('yapp', var='YAPP')
+ conf.find_program('pod2man', var='POD2MAN')
def build(bld):
bld.INSTALL_FILES('${BINDIR}', 'pidl', chmod=0755)
@@ -48,7 +49,7 @@ def build(bld):
bld.SET_BUILD_GROUP('main')
for src, manpage in pidl_manpages.iteritems():
- bld(rule='pod2man -c "Samba Documentation" ${SRC} ${TGT}',
+ bld(rule='${PERL} ${POD2MAN} -c "Samba Documentation" ${SRC} ${TGT}',
shell=True,
source=src,
install_path=os.path.dirname(bld.EXPAND_VARIABLES('${MANDIR}/'+manpage)),