summaryrefslogtreecommitdiff
path: root/pidl/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-16 00:00:01 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-16 00:05:53 +0200
commit2c125595fb03d1f3940545438bb4ec462585beb7 (patch)
treebaeaad6aa1f8032ea791d281e89c231400a6dedf /pidl/wscript
parent6da487580e9fac388ce3f3a2decaae03d5ae99a5 (diff)
downloadsamba-2c125595fb03d1f3940545438bb4ec462585beb7.tar.gz
waf: Fix installation of pidl manapges.
Diffstat (limited to 'pidl/wscript')
-rw-r--r--pidl/wscript12
1 files changed, 5 insertions, 7 deletions
diff --git a/pidl/wscript b/pidl/wscript
index 872e2385de2..3137ad090e9 100644
--- a/pidl/wscript
+++ b/pidl/wscript
@@ -11,14 +11,13 @@ def configure(conf):
if conf.CHECK_PERL_MANPAGE():
conf.env.PERLMAN1EXT = conf.CHECK_PERL_MANPAGE(section='1')
conf.env.PERLMAN3EXT = conf.CHECK_PERL_MANPAGE(section='3')
- #conf.DEFINE('HAVE_PERL_MAKEMAKER', 1)
+ conf.DEFINE('HAVE_PERL_MAKEMAKER', 1)
# yapp is used for building the parser
conf.find_program('yapp', var='YAPP')
-O755 = 493
def build(bld):
- bld.INSTALL_FILES('${BINDIR}', 'pidl', chmod=O755)
+ bld.INSTALL_FILES('${BINDIR}', 'pidl', chmod=0755)
bld.RECURSE('lib')
@@ -44,9 +43,8 @@ def build(bld):
link_command = 'rm -rf blib && ln -s %s' % blib_bld
t = bld.SAMBA_GENERATOR('pidl_manpages',
- source=pidl_src,
- target=pidl_manpages,
- rule='cd ${pidl_srcdir} && ${LINK_COMMAND} && ${PERL} Makefile.PL && make manifypods && rm -f Makefile Makefile.old && rm -f blib')
+ source=pidl_src, target=pidl_manpages,
+ rule='cd ${pidl_srcdir} && ${LINK_COMMAND} && ${PERL} Makefile.PL && make manifypods && rm -f Makefile Makefile.old && rm -f blib')
t.env.LINK_COMMAND = link_command
# we want to prefer the git version of the parsers if we can. Only if the
@@ -63,5 +61,5 @@ def build(bld):
t.env.LINK_COMMAND = link_command
for m in pidl_manpages:
- dname=os.path.dirname(m)[5:]
+ dname = os.path.dirname(m)[5:]
bld.INSTALL_FILES('${MANDIR}/'+dname, m, flat=True)