From 2c125595fb03d1f3940545438bb4ec462585beb7 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 16 Jun 2010 00:00:01 +0200 Subject: waf: Fix installation of pidl manapges. --- pidl/blib/man1/.dummy | 0 pidl/blib/man3/.dummy | 0 pidl/wscript | 12 +++++------- 3 files changed, 5 insertions(+), 7 deletions(-) create mode 100644 pidl/blib/man1/.dummy create mode 100644 pidl/blib/man3/.dummy diff --git a/pidl/blib/man1/.dummy b/pidl/blib/man1/.dummy new file mode 100644 index 0000000000..e69de29bb2 diff --git a/pidl/blib/man3/.dummy b/pidl/blib/man3/.dummy new file mode 100644 index 0000000000..e69de29bb2 diff --git a/pidl/wscript b/pidl/wscript index 872e2385de..3137ad090e 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) -- cgit