summaryrefslogtreecommitdiff
path: root/Debian/Debhelper
Commit message (Collapse)AuthorAge
* 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
|
* improve list formattingJoey Hess2009-07-01
|
* rmdir_builddir(): use shell commands rather than perl equivalent.Modestas Vainius2009-06-30
| | | | | | | | Pass --ignore-fail-on-non-empty option to shell rmddir and later check with -d if the exists to get the same effect. Also drop no act check from rmdir_builddir(), doit() does it for us now. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* remove enforce_out_of_source_buildingJoey Hess2009-06-29
| | | | | It was only used by the test suite, and while symetrical I don't feel that justifies keeping dead code.
* layoutJoey Hess2009-06-29
|
* Use ASCII RS for separating options in DH_INTERNAL_OPTIONS.Modestas Vainius2009-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since now extra options via dh command line arguments are encouraged, dh will break when a bit more complex option gets added to DH_INTERNAL_OPTIONS and it gets misparsed by the debhelper command called from the override. E.g. debian/rules: | %: | dh --builddirectory="build dir" | | override_dh_install: | dh_install Will fail with something like: | .... | make[1]: Entering directory `............' | dh_install | cp: cannot stat `debian/tmp/dir': No such file or directory | dh_install: cp returned exit code 1 | make[1]: *** [override_dh_install] Error 1 So since DH_INTERNAL_OPTIONS is exclusively for internal use, why not to use an old good ASCII unrepresentable control character as a separator? So I chose ASCII 1E - RS Record Separator. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Bug fix: pass extra command line arguments to cmake.Modestas Vainius2009-06-30
| | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Add URLs to python_distutils --build-base bugs.Modestas Vainius2009-06-30
|
* Call SUPER in python_distutils::pre_building_step.Modestas Vainius2009-06-30
| | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* More verbose rmdir_builddir() and more its testsModestas Vainius2009-06-30
| | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Support absolute paths for builddir.Modestas Vainius2009-06-30
| | | | | | | | If build directory is absolute or ../ path, _rel2rel falls back to absolute paths. Try even harder to convert supplied builddir to relative in _set_builddir(). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Rename _canonpath to canonpath.Modestas Vainius2009-06-30
| | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Rename enforce_out_of_source_building() to prefer_Modestas Vainius2009-06-30
| | | | | | | | Also add enforce_out_of_source_building() for clarity which does not take any parameters. Now both have a clear name and no confusing parameter combinations. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Make dh not complain about unknown, command-specific options passed to itJoey Hess2009-06-29
| | | | | and further suppress warnings about such options it passes on to debhelper commands. This was attempted incompletely before in version 7.2.17.
* misc minor changesJoey Hess2009-06-29
|
* clean up --sourcedir/--sourcedirectory conflictJoey Hess2009-06-28
| | | | | | | | | | | | * Move two move command-specific options to only be accepted by the commands that use them. The options are: --sourcedir, --destdir * If any third-party debhelper commands use either of the above options, they will be broken, and need to be changed to pass options to init(). This was done because of a conflict with the --sourcedirectory options used by dh_auto_*. I originally wanted to make dh_auto_* and dh_install both use --sourcedir, but that didn't work out.
* Merge branch 'master' into buildsystemsJoey Hess2009-06-28
|\ | | | | | | | | Conflicts: dh_auto_install
* | Revert "Add --help-buildsystem option to dh_auto."Joey Hess2009-06-28
| | | | | | | | | | | | | | I'm unsure why we need this complication. Perl modules are allowed to install man pages documenting the module, if it really needs documentation. This reverts commit 49b64c7852744f54250121b1c60544e1f5de70b6.