summaryrefslogtreecommitdiff
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
parent6da487580e9fac388ce3f3a2decaae03d5ae99a5 (diff)
downloadsamba-2c125595fb03d1f3940545438bb4ec462585beb7.tar.gz
samba-2c125595fb03d1f3940545438bb4ec462585beb7.tar.bz2
samba-2c125595fb03d1f3940545438bb4ec462585beb7.zip
waf: Fix installation of pidl manapges.
-rw-r--r--pidl/blib/man1/.dummy0
-rw-r--r--pidl/blib/man3/.dummy0
-rw-r--r--pidl/wscript12
3 files changed, 5 insertions, 7 deletions
diff --git a/pidl/blib/man1/.dummy b/pidl/blib/man1/.dummy
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/pidl/blib/man1/.dummy
diff --git a/pidl/blib/man3/.dummy b/pidl/blib/man3/.dummy
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/pidl/blib/man3/.dummy
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)