# 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)
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)),