path: root/Debian/Debhelper/Buildsystem
Commit message (Collapse)AuthorAge
* Pass --disable-silent-rules in dh_auto_configure if DH_VERBOSE is set.Joey Hess2014-06-13
* Use realclean instead of distclean on perl_build buildsystem.gregor herrmann2014-02-04
| | | | | | | | | | Switch from `Build distclean' to `Build realclean' in the clean action of the perl_build buildsystem. 'distclean' is not specified in the CPAN::API::BuildPL specification, and therefor not implemented in Module::Build::Tiny (and other future implementations). Besides that, the dist* actions are meant for upstream authors.
* cmake: Configure with -DCMAKE_BUILD_TYPE=None Closes: #701233Joey Hess2013-12-05
* Fix (horrible) make output parsing code to work with make 4.0. Closes: ↵Joey Hess2013-11-05
| | | | #728800 Thanks, Julien Pinon
* makefile buildsystem: Tighten heuristic to detect if makefile target exists. ↵Joey Hess2013-08-20
| | | | An error message that some other target does not exist just means the makefile spaghetti has problems later on when run with -n, but not that the called target didn't exist. Closes: #718121
* dh_install, dh_installdocs, dh_clean: Fix uses of find -exec which cause it ↵Joey Hess2013-08-15
| | | | to ignore exit status of the commands run.
* Fix typo for propagateGuillem Jover2013-08-09
* perl_build: Use -- long option names, for compatability with ↵Joey Hess2013-06-30
| | | | Module::Build::Tiny. Closes: #714544 (Thanks, gregor herrmann)
* makefile buildsystem: Added heuristic to catch false positive in makefile ↵Joey Hess2013-06-24
| | | | target detection code. Closes: #713257 Nasty make ... why won't it tell us what's in its pocketses?
* Correct broken patch for #706923. Closes: #707481Joey Hess2013-06-04
* Revert unsetting INSTALL_BASE. Closes: #708452 Reopens: #705141Joey Hess2013-05-16
* Revert python2.X-minimal fix, because it was buggy. Closes: #707111 (Reopens ↵Joey Hess2013-05-07
| | | | #683557)
* makefile buildsystem: Pass any parameters specified after -- when running ↵Joey Hess2013-05-06
| | | | make -n to test for the existance of targets. In some makefiles, the parameters may be necessary to enable a target. Closes: #706923
* perl_makemaker: Unset INSTALL_BASE in case the user has it set. Closes: #705141Joey Hess2013-05-05
* cmake: Configure with -DCMAKE_BUILD_TYPE=RelWithDebInfo Closes: #701233Joey Hess2013-02-24
| | | | | I'm told this only avoids building with -O3 -DNDEBUG, a change which should have no potential for breaking anything.
* adjust other fixJoey Hess2012-10-22
| | | | | | This is really atrocious, but IIRC the order pythons are run in matters, so the earlier mangling of @python_requested must remain, and so unmangle it here.
* python distutils buildsystem: When checking if a version of python is ↵Joey Hess2012-08-27
| | | | | | installed, don't trust the presense of the executable, as a python2.X-minimal package may provide it while not having distutils installed. Closes: #683557 python hate increasing..
* python distutils buildsystem: Propigate failure of pyversions. Closes: ↵Joey Hess2012-08-27
| | | | #683551 Thanks, Clint Byrum
* debhelper: Fix minor source comment typos.Simon Ruderich2012-05-19
* releasing version 9.20120419Joey Hess2012-04-17
* cmake: Only pass CPPFLAGS in CFLAGS in v9.Joey Hess2012-04-17
* cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for ↵Joey Hess2012-04-17
| | | | the patch and for verifying no affected package is broken by this change.
* Also include CFLAGS in ld line for perl. Closes: #662666Joey Hess2012-03-13
* Pass CPPFLAGS and LDFLAGS to Makefile.PL and Build.PLDominic Hargreaves2012-03-11
* dh_auto_install: Set AM_UPDATE_INFO_DIR=no to avoid automake generating an ↵Joey Hess2012-02-08
| | | | info dir file. Closes: #634741
* Pass CPPFLAGS to qmake. Closes: #646129 Thanks, Felix GeyertJoey Hess2011-12-08
* Pass CFLAGS also to perl_build.gregor herrmann2011-09-30
| | | | Closes: 497653
* setting OPTIMIZE could in theory lead to breakage, so make it v9Joey Hess2011-09-29
* fix indentationJoey Hess2011-09-29
* pass dpkg-buildflags to makemaker build systemSteve Langasek2011-09-29
| | | | | | | The standard way to pass build flags to makemaker perl build systems is to set the OPTIMIZE variable on the commandline; CFLAGS in the environment gets ignored entirely. So pass the CFLAGS from the environment to Makefile.PL so makemaker packages can also benefit from dpkg-buildflags.
* Add support for running tests in parallel to the cmake build system.Modestas Vainius2011-08-05
| | | | | | | | | | | Pass appropriate -jN option to ctest (via ARGS variable in the Makefile) to enable support for running tests in parallel. Similarly to makefile build system, ctest -j1 mode is enforced even when parallel mode in debhelper is not explicitly enabled. Unlike make, CTest does not have "unlimited parallel" setting (-j implies -j1). So in order to simulate unlimited parallel, allow to fork a huge number of threads instead.
* remove build directory even if Makefile does not exist yet.Modestas Vainius2011-08-05
| | | | | | Assume that the package can be cleaned (i.e. the build directory can be removed) as long as it is built out-of-source tree and can be configured. This is useful for derivative buildsystems which generate Makefiles.
* layutJoey Hess2011-07-16
* oops, only force qt4 when it's enabledJoey Hess2011-07-16
* Now the QT4 version of qmake can be explicitly selected by passing ↵Joey Hess2011-07-16
| | | | | | | | | | | | --buildsystem=qmake_qt4. Closes: #566840 There is that build system option patch that I suckily never applied, and could be used here.. but this is at its core a different build system, and so handling it as such makes the most sense. It may make sense to have a qmake_qt3 build system, but perhaps QT 3 will instead just go away. I considered just waiting, but this is an easy fix. ;)
* dh_auto_configure: If there is a problem with cmake, display the CMakeCache.txt.Joey Hess2011-06-24
* dh_auto_configure: In v9, does not include the source package name in ↵Joey Hess2011-06-14
| | | | | | | --libexecdir when using autoconf. Closes: #541458 Fixed rleigh's patch to be more correct in the edge case where there is a non-multiarch dpkg (ie, backports).
* Don't add package name to libexecdir in v9Roger Leigh2011-06-14
* avoid depending on a dpkg that has DEB_HOST_MULTIARCHJoey Hess2011-03-12
* layoutJoey Hess2011-03-12
* Add support for multiarch.Steve Langasek2011-03-12
| | | | | | | | | | | | | | Open compat level 9, which incompatibly changes dh_auto_configure behavior to set --libdir and --libexecdir to the multiarch directory path. This requires dpkg-dev 1.16.0 (not yet released) for the multiarch directory variable, so bump the dependency to this version. Also set a new substvar, misc:Pre-Depends, to multiarch-support, a virtual package provided by versions of eglibc that support the multiarch library paths at runtime; this needs to be a pre-dependency to ensure unpacked but not-yet-configured libraries can still be found during upgrades, so library packages converting to multiarch (i.e., switching to compat 9) will need to add this substitution by hand to debian/control.
* remove MODULEBUILDRC overrideJoey Hess2011-01-25
| | | | | | | | | | | | This doesn't work reliably, see #607313. Probably that is caused by the perl_build buildsystem not being detected for a package that has a Makefile.PL, and so MODULEBUILDRC is not overridden. So, I could add it there too, but then it's also possible for it to be run from a Makefile.. so I could add it to dh_auto_*. But then there are packages that don't use those. So I conclude that dealing with this in debhelper is out of its scope, and this needs to be fixed at a higher level, probably dpkg-dev.
* python_distutils: Pass --force to build, to ensure that when ↵Joey Hess2010-08-07
| | | | | | | | | | python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759 (cherry picked from commit 865e6266a5eaae81004bf530bc23da1c3fdc10b1) Conflicts: debian/changelog
* Revert "python_distutils: Pass --force to build, to ensure that ↵Joey Hess2010-08-07
| | | | | | | | | | | | when python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759" This reverts commit 865e6266a5eaae81004bf530bc23da1c3fdc10b1. Conflicts: debian/changelog Too late for 8.0.0 since testing is frozen. Will put back in later.
* python_distutils: Pass --force to build, to ensure that when ↵Joey Hess2010-07-25
| | | | python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759
* perl_makemaker: import compat(). Closes: #587654Joey Hess2010-06-30
* In v8 mode, stop passing packlist=0 in perl_makemaker buildsystem, since ↵Joey Hess2010-06-23
| | | | perl_build is tried first. Avoids the makemaker warning message introduced by the fix to #527990.
* makefile buildsystem: Chomp output during test for full compatability with ↵Joey Hess2010-02-19
| | | | | | | | | | | | | | debhelper 7.4.11. Closes: #570503 Previously the test used make -s -n | head -n 1 and then chomped the output. In the case of this bug, root-system's Makefile *always* outputs something to stdout, even for targets that don't exist, before configure is run. It accidentially worked before, since the first line it outputs happens to be empty. So bring back the chomp to retain compatability with this package that used to work before, but the test only does the right thing for this package due to sheer luck, really.
* The fix for #563557 caused some new trouble involving makefile that ↵Joey Hess2010-02-18
| | | | misbehave when stderr is closed. Reopen it to /dev/null when testing for the existance of a makefile target. Closes: #570443
* update from KelJoey Hess2010-01-28
| | | | | | Here is yet another revision which sets the PREFIX variable to '/usr' which seems commonly used by Qt projects. Also removed the -e test discussed previously.