summaryrefslogtreecommitdiff
path: root/pidl/wscript
AgeCommit message (Collapse)AuthorFilesLines
2023-11-30pidl: Fix grammar in warning messageJoseph Sutton1-1/+1
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-11-30pidl: Remove trailing whitespaceJoseph Sutton1-1/+0
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-11-30pidl: Remove unused importsJoseph Sutton1-2/+0
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-02-04build: Do not check if system perl modules should be bundledAndrew Bartlett1-7/+0
We do not ship any perl modules in third_party at this time, so this check is pointless and breaks the build for --bundled-libraries=ALL. As reported by aaptel on https://gitlab.com/samba-team/samba/-/merge_requests/1104#note_281050331 This changes our autobuild script to cover this case in the samba-static job. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2020-02-02pidl/wscript: configure should insist on Parse::Yapp::DriverDouglas Bagnall1-3/+7
following 83ffe6752d589180eac96d7b8e7d1a54e3476bfd, you get a build error if you lack a system perl Parse::Yapp. Let's make it a configure failure instead. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Feb 2 10:09:11 UTC 2020 on sn-devel-184
2019-09-18pod2man is no longer neededMathieu Parent1-1/+0
Since e24e344d0da58013fd5fa404529fe1d25ef403bf. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14131 Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-04-23waf: install: Remove installation of PIDL and manpages.Lutz Justen1-38/+0
It's not used outside of Samba other than wireshark who have their own vendor fork. Signed-off-by: Lutz Justen <ljusten@google.com> Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Apr 23 02:08:56 UTC 2019 on sn-devel-144
2018-09-16PY3: fix string.rsplit usage (doens't exist in PY3)Noel Power1-1/+1
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-09-16PY3: fix iteritems usage, not supported in python3Noel Power1-3/+4
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-09-05pidl/wscript: update to handle waf 2.0.4Alexander Bokovoy1-2/+3
Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-09-05build:wafsamba: Build on waf 1.9Thomas Nagy1-1/+1
Signed-off-by: Thomas Nagy <tnagy@waf.io> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-05-12Fix pidl manpage sectionsMathieu Parent1-2/+3
.TH header should match file name (i.e 3pm and not 3 for Parse::Pidl::NDR). Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2015-10-28build:wafsamba: removed most import * statementsThomas Nagy1-4/+1
The 'import *' statements make it more difficult to reason about the modules and tends to conceal bugs. These changes enable running pyflakes against most of the build scripts. Signed-off-by: Thomas Nagy <tnagy@waf.io> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Oct 28 12:52:17 CET 2015 on sn-devel-104
2014-09-09pidl/wscript: remove --with-perl-* optionsStefan Metzmacher1-1/+1
These are not needed anymore as we have useful defaults now. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2014-09-05pidl: fix the perl module search path (use lib ...) when installing pidl.Michael Adam1-1/+1
This way, pidl can also run with modules installed under the $prefix. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Michael Adam <obnox@samba.org>
2014-09-05pidl/wscript: don't check for perl again.Michael Adam1-3/+0
This is done at the toplevel now. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2014-03-06pidl-waf: Check for system perl(Parse::Yapp::Driver).Andreas Schneider1-0/+3
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-03-06pidl-waf: Add a function to check for a system perl module.Andreas Schneider1-0/+22
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-03-06pidl-waf: Install pidl modules to the perl vendorlib directory.Andreas Schneider1-0/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-03-06pidl-waf: Remove unused variable pidl_src.Andreas Schneider1-3/+0
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-03-06Revert "pidl: Install pidl files corrently."Andreas Schneider1-0/+3
This reverts commit cee11cfa4544425099268cd32393169afb4bb107. Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-03-06Revert "waf: Add option to specify perl vendor dir."Andreas Schneider1-2/+0
This reverts commit 9b200555fec2e33da9521db388d1839375aa8d83. Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-03-06Revert "pidl: Make perl(Parse:Yapp:Driver) installation optional."Andreas Schneider1-24/+1
This reverts commit f0030c619bcf22dbe9eed54b2c0dc9c61f564838. Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-02-27pidl: Make perl(Parse:Yapp:Driver) installation optional.Andreas Schneider1-1/+24
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Feb 27 18:47:03 CET 2014 on sn-devel-104
2014-02-27waf: Add option to specify perl vendor dir.Andreas Schneider1-0/+2
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Kai Blin <kai@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Feb 27 11:48:54 CET 2014 on sn-devel-104
2014-02-26pidl: Install pidl files corrently.Andreas Schneider1-3/+0
Globbing is a really bad idea in installtion system. One of them is if you use patch -b to create a backup, you will end up installing the backup file too! BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Kai Blin <kai@samba.org>
2013-02-28build: Do not force a specific perl from ${PERL} when running pod2manAndrew Bartlett1-1/+1
pod2man should have the right #!/usr/bin/perl line already, and forcing it may cause us to use the wrong perl. Essentially treat this like any other system binary, rather than forcing it to use the first perl we found. This essentially reverts e80f576db66ad04592ac436ed74ceb9b96452060. Current SLES11 does not seem to have the issue this was added to address. Andrew Bartlett Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Feb 28 02:14:25 CET 2013 on sn-devel-104
2011-01-18pidl:wscript: don't warn about pidl gammar file changes for nowStefan Metzmacher1-2/+4
We may add some logic that uses git diff HEAD to detect this changes in developer mode later again. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 18 08:10:06 CET 2011 on sn-devel-104
2011-01-06pidl/wscript: only warn about grammar file changesStefan Metzmacher1-4/+4
autobuild should protect us from having grammar files and generated files out of sync. metze
2011-01-05pidl/wscript: let the developer use the standalone build with yappStefan Metzmacher1-10/+22
Waf isn't happy when files in the source directory are changed. metze
2010-10-06waf: fixed some python3.x portability issuesAndrew Tridgell1-1/+2
these have crept into the tree over time. Maybe we should add testing of a range of python versions to autobuild?
2010-06-17pidl/wscript: build manpages in build group 'final'Stefan Metzmacher1-1/+1
So that waf --target=smbtorture doesn't build them metze
2010-06-17pidl/wscript: only try to build pidl manpages if pod2man is availableStefan Metzmacher1-6/+7
metze
2010-06-17pidl/wscript: call pod2man with the detected perl versionStefan Metzmacher1-1/+2
Some systems like SLES11 have a broken perl path in pod2man. metze
2010-06-16pidl-waf: Avoid relying on MakeMaker when installing pidl manpages.Jelmer Vernooij1-17/+20
2010-06-16waf: Fix installation of pidl manapges.Jelmer Vernooij1-7/+5
2010-04-08build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy1-2/+2
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-06s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell1-1/+1
This works with both standalone lib builds and bundled builds
2010-04-06pidl-waf: disable pidl manpagesAndrew Tridgell1-1/+1
it's still causing trouble in the build farm
2010-04-06pidl-waf: better handling of the man page generationAndrew Tridgell1-8/+14
we now avoid leaving build files in the source tree
2010-04-06pidl-waf: build pidl man pages and parsers separatelyAndrew Tridgell1-9/+14
this should prevent gratuitious builds
2010-04-06s4-waf: disable MAKEMAKER until a dependency problem is solvedAndrew Tridgell1-1/+1
2010-04-06s4-waf: added rules for rebuilding the yapp parser in pidlAndrew Tridgell1-0/+11
2010-04-06pidl-waf: re-enable the pidl man pagesAndrew Tridgell1-0/+1
2010-04-06s4-waf: added auto-detection of perl manpage extensionsAndrew Tridgell1-7/+10
some systems produce pidl.1p, others pidl.1. We need to know which one to use.
2010-04-06waf-pidl: don't need this debug ls any moreAndrew Tridgell1-1/+1
2010-04-06s4-waf: we need a recent version of perls MakeMaker moduleAndrew Tridgell1-1/+2
2010-04-06build: add an ls -lR blib/ to the pidl build to help debug things in the ↵Andrew Tridgell1-1/+1
build farm
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06s4-waf: only build the pidl manpages if we have MakeMaker.pmAndrew Tridgell1-0/+38