summaryrefslogtreecommitdiff
path: root/Debian/Debhelper
Commit message (Collapse)AuthorAge
...
* Fix build system auto-selection breakage.Cyril Brulebois2009-11-19
| | | | | | | | Probably due to an overlook in 758ce0bb1f, the '-e' test on build.xml disappeared, leading check_auto_buildable() to always return '1' for the ant build system. Signed-off-by: Cyril Brulebois <kibi@debian.org>
* comment mungingJoey Hess2009-11-18
|
* Improve build system auto-selection processModestas Vainius2009-11-18
| | | | | | | | | | | | | | | This patch alters semantics of check_auto_buildable() a bit. Now it can also indicate if the source has already been partitially built with the build system and if so, such build system may be auto-selected over a less specific its parent (in the inheritance tree) even if the latter is earlier in the @BUILDSYSTEMS array. However, this still leaves a requirement that a derivative build system must not do anything that may break packages of the parent build system. Otherwise, introduction of a new derivative build system might break packages which already had that build system implemented via overrides... Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* cute tail display of config.log, to include a headerJoey Hess2009-11-16
|
* autoconf: If configure fails, cat config.log. Intended to make it easier to ↵Joey Hess2009-11-16
| | | | debug configure script failures on autobuilders. Closes: #556384
* make error() throw a catchable error with dieJoey Hess2009-11-16
| | | | | exit cannot be caught with eval.. I used exit before because I thought it was cute for erorr() to call warning(). Silly.
* Enable verbose ctest output on test failureModestas Vainius2009-11-16
| | | | | | | | | | | | When test fails, enable verbose ctest output. This allows to get more details on a test failure from the build logs. Auto-select cmake in further steps only if cmake was run in configure step. CMake writes CMakeCache.txt to build directory when it is run. Depend on the presence of this file for auto-selection in build, test, install and clean steps. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Enable verbose ctest output on test failureModestas Vainius2009-11-12
| | | | | | | When test fails, enable verbose ctest output. This allows to get more details on a test failure from the build logs. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Adjust code to add deprecation warning for compatability level 4. (Man page ↵Joey Hess2009-11-12
| | | | already said it was deprecated.) Closes: #555899
* --max-parallel requires a numberJoey Hess2009-11-04
|
* support unlimited parallel jobsJoey Hess2009-10-29
| | | | | | | | dpkg-buildpackage -j sets DEB_BUILD_OPTIONS=parallel=-1. Policy does not cover this but the intent is to allow unlimited parallel jobs. Also, there is no longer any way for parallel to be set to undef, so remove code to handle that.
* logic errorJoey Hess2009-10-29
|
* implement the other option: parallel enabled implicitly by DEB_BUILD_OPTIONSJoey Hess2009-10-29
| | | | | I renamed --parallel to --max-parallel to clarify that it doesn't enable parallelism, but only controls how much of it is allowed.
* refactor --parallel processingJoey Hess2009-10-28
| | | | Use a function to set the value rather than post-processing.
* reduce amount of MAKEFLAGS cleaningJoey Hess2009-10-28
| | | | | | | | | | | Now clean_jobserver_makeflags will only remove --jobserver settings from MAKEFLAGS. This is simpler and easier to understand than the old behavior, which, if there was no --jobserver, removed all -j and --jobs, while leaving those when removing --jobserver. This relies on -j options passed to make overriding -j settings in MAKEFLAGS. So we don't need to clean those out, we can just override them.
* split get_make_jobserver_status into two functionsJoey Hess2009-10-28
| | | | | | | | | | | I disliked the complexity of the return values, and the boilerplate code that followed the two calls to the function, to clean/unset MAKEFLAGS. To solve both, I refactored it into two functions, one simply tests to see if a jobserver is specified but unavailable, while the other cleans/unsets MAKEFLAGS. This loses the ability to pull the jobs-N count out of MAKEFLAGS, but that was not currently used.
* move obscure function to EOFJoey Hess2009-10-28
|
* Support parallel building in makefile buildsystemModestas Vainius2009-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Add routine to Dh_Lib (used by dh and makefile.pm) which is capable of detecting make jobserver and job control options from the MAKEFLAGS environment variable. It also generates and returns a clean up MAKEFLAGS from these options. 2) Add --parallel option to build system framework which allows source packages to specify that they support parallel building. Optional value for this option is the number of maximum parallel process to allow. However, the actual number of parallel process (if any) for the specific build is determined from DEB_BUILD_OPTIONS env variable as specified by Debian Policy. By default (no --parallel option) parallel is neither enabled nor disabled (depends on the external environment). However, dh may pass --parallel to dh_auto_* implicitly in case 4) described below. 3) Add parallel support for makefile buildsystem. This implementation forcefully starts a new make job server (or disables parallel) for the number of process requested. If --parallel was not passed to the build system at all, the build system will only clean up MAKEFLAGS from stale jobserver options to avoid pointless make warnings. 4) If dh detects that it is being run by dpkg-buildpackage -jX and it is NOT run with "+" prefix from debian/rules (i.e. jobserver is not reachable), it enables --parallel implicitly. This closes: #532805. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* consistently print whole failing command lineJoey Hess2009-10-19
|
* invert python orderingJoey Hess2009-10-01
| | | | --force allows doing so
* indentationJoey Hess2009-10-01
|
* Pass --force option to Python distutils install command.Andrew Straw2009-10-01
| | | | | | This command will prevent distutils from attempting to determine whether a file should be installed based on the timestamp of the to-be-overwritten file.
* Allow dpkg-architecture to print errors to stderr. Closes: #548636Joey Hess2009-09-27
|
* Reorder dh_pysupport call in dh sequence to come before dh_installinit, so ↵Joey Hess2009-09-14
| | | | the generated postinst script registers python modules before trying to use them. Closes: #546293
* -a == -sJoey Hess2009-09-01
| | | | | | | The -a flag now does the same thing as the -s flag, so debhelper users do not need to worry about using the -s flag when building a package that only builds for some architectures, and dh will also work in that situation. Closes: #540794
* Optimise -s handling to avoid running dpkg-architecture if the package is ↵Joey Hess2009-09-01
| | | | arch all.
* refactorJoey Hess2009-09-01
|
* improve python regexps, per bzedJoey Hess2009-08-13
|
* minor code cleanup and optimisationJoey Hess2009-08-10
|
* move comment closer to relevant codeJoey Hess2009-08-08
|
* python_distutils.pm: Support debhelper backports.Bernd Zeimetz2009-08-08
| | | | | | To allow backports of debhelper we don't pass --install-layout=deb to 'setup.py install` for those Python versions where the option is ignored by distutils/setuptools.
* perl_build: Fix Build check to honor source directory setting.Joey Hess2009-08-05
|
* perl_build: Avoid failing if forced to be used in dh_auto_clean when Build ↵Joey Hess2009-08-04
| | | | does not exist (ie due to being run twice in a row). Closes: #539848
* cmake: Avoid forcing rpath off as this can break some test suites. It gets ↵Joey Hess2009-08-01
| | | | stripped by cmake at install time. Closes: #538977
* perl_makemaker: Re-add fix for #496157, lost in rewrite.Joey Hess2009-07-22
|
* refactorJoey Hess2009-07-19
|
* Merge commit 'origin/buildsystems' into python-buildBernd Zeimetz2009-07-19
|\ | | | | | | | | Conflicts: Debian/Debhelper/Buildsystem/python_distutils.pm
| * fix get_sourcepath use and misc style fixesJoey Hess2009-07-19
| |
* | Ensure that we find the right default dbg Python.Bernd Zeimetz2009-07-19
|/
* Check the various build-deps for python-dbg.Bernd Zeimetz2009-07-19
| | | | | The default dbg interpreter can be installed by various build-deps, check them all.
* Merge commit 'origin/buildsystems' into python-buildBernd Zeimetz2009-07-19
|\ | | | | | | | | Conflicts: Debian/Debhelper/Buildsystem/python_distutils.pm
| * improve commentJoey Hess2009-07-19
| |
| * minor improvementJoey Hess2009-07-19
| |
| * Merge commit 'remotes/bzed/python-build' into buildsystemsJoey Hess2009-07-19
| |\
| * | relocate comment inside ifJoey Hess2009-07-18
| | |
* | | Build Python dbg extensions automatically.Bernd Zeimetz2009-07-19
| |/ |/| | | | | | | Python dbg interpreters are only called if the package build-depends on them.
* | Build for all supported Pythons if installed.Bernd Zeimetz2009-07-19
|/ | | | | | | python_distutils buildsystem: Build for all supported Python versions in case they're installed. Ensure that correct shebangs are created by using `python' first during build and install. Closes: #520834
* forgot to add ant.pmJoey Hess2009-07-14
|
* fix indentJoey Hess2009-07-14
|
* Add ant buildsystem support. Closes: #537021Joey Hess2009-07-14
|