summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Always respect DEB_${flag}_{APPEND,SET} envvars.Modestas Vainius2011-06-19
| | | | | | Do that even when dpkg-buildpackage modifies environment variables. Also document DEB_${flag}_{APPEND,SET} as recommended way to override standard build flags.
* In the unlikely case Dpkg::BuildFlags fails, don't do anything.Modestas Vainius2011-06-19
|
* updateJoey Hess2011-06-19
|
* Use Dpkg::BuildFlags module directly in set_buildflags().Modestas Vainius2011-06-19
| | | | | | | Dpkg::BuildFlags API is declared stable. It should be safe to use it directly rather than dpkg-buildflags wrapper. In addition, do not do any DEB_BUILD_OPTIONS=noopt handling in debhelper. Dpkg::BuildFlags already does it for us.
* Correct docs about multiarch and v9. Closes: #630826Joey Hess2011-06-17
|
* Fix =>/>= typo in dh_makeshlibs(1).Cyril Brulebois2011-06-16
|
* Merge branch 'master' into smarter-targetsJoey Hess2011-06-14
|\ | | | | | | | | Conflicts: dh
| * dpkg-buildflags supportJoey Hess2011-06-14
| | | | | | | | | | | | | | | | * dh_auto_build, dh_auto_configure, dh: Set environment variables listed by dpkg-buildflags --export. Any environment variables that are already set to other values will not be changed. Closes: #544844 * Also, support DEB_BUILD_OPTIONS=noopt, by changing -O2 to -O0.
* | Merge branch 'master' into smarter-targetsJoey Hess2011-06-14
|\| | | | | | | | | | | Conflicts: debhelper.pod debian/changelog
| * 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
| |
* | dh: rules function joins array argumentRoger Leigh2011-06-14
| | | | | | | | | | Appending @_ to a string appends the array length rather than the array contents, so join with separating whitespace.
* | remove internal rules:target stuffJoey Hess2011-06-14
| |
* | avoid infinite recursionJoey Hess2011-06-14
| | | | | | | | | | | | | | | | The makefile parse causes dh to be run recursively. Before, dh would just immediatly fail with "unknown sequence", but now it has to run the makefile parse to calculate the sequences, so an earlier bailout is needed.
* | honor empty targetsJoey Hess2011-06-13
| | | | | | | | | | | | An empty explicit target in debian/rules should still be run, to run its dependencies, and allow defining empty targets in order to skip running what's nornally done by a sequence.
* | make standard targets support a v9 featureJoey Hess2011-06-13
| |
* | changelogJoey Hess2011-06-13
| |
* | inline sequences to optimize away recursive calls to make/dh for implicit ↵Joey Hess2011-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | targets This assumes that all implicit rules file targets are owned by dh, so it can just assume an implicit target can be optimized away to the commands in its sequence. I suppose this would break: build: dh build install: build dh install binary-%: install my-binary-builder-$@ my-binary-builder-arch: echo "whee! I did something pointlessly complicated with make!" dh binary-arch my-binary-builder-indep: dh binary-indep But I can't imagine anyone does this, at least with a probability of 1 in ten thousand, so hopefully it doesn't break any existing packages. :)
* | improve sequence logicJoey Hess2011-06-13
| | | | | | | | | | | | | | Reorder code so sequences can all be built before addons are loaded, so addon interface can always affect all commands in any sequences. This fixes a bug in the previous patch, where addons could not influence dh_testdir and dh_testroot.
* | doc updates for recent changesJoey Hess2011-06-13
| |
* | move dh_auto_configure out of @bd_minimalJoey Hess2011-06-13
| | | | | | | | | | | | | | | | Callers overriding build targets will need to configure by hand or by calling dh_auto_configure, which should be the status quo. And moving dh_auto_configure to build (and build-arch and build-indep) will not make it run twice AFAICS (except for the edge case when it already did: debian/rules build-arch build-indep)
* | remove calls to build-arch, install-arch, etcJoey Hess2011-06-13
| | | | | | | | | | These calls are no-ops, unless explicit targets exist, and in that case later code rewrites the build and install sequences to include them.
* | minor cleanups, no substantial code changesJoey Hess2011-06-13
| |
* | dh: Use minimal sequences if delegating workRoger Leigh2011-06-13
| | | | | | | | | | | | | | | | | | | | The build and install rules run a minimal sequence if the build-arch or build-indep, or install-arch or install-indep targets, respectively, are present in debian/rules. The purpose is to not do work ahead of time, such as building before the build-arch or build-indep targets are built, which could potentially lead to misbuilds. If the targets are not defined, the sequences may be run directly which is faster due to being able to run the arch and indep commands together.
* | dh: Add sequence dependency supportRoger Leigh2011-06-13
|/ | | | | | | | | Rather than dh sequences containing dependent sequences within themselves, invoke the sub-sequence via debian/rules to permit overriding and customisation using the policy-defined debian/rules targets. Signed-off-by: Roger Leigh <rleigh@debian.org>
* dh_movefiles: Optimise use of xargs. Closes: #627737Joey Hess2011-05-30
|
* Fix error message. Closes: #628053Joey Hess2011-05-27
|
* Fix example. Closes: #627534Joey Hess2011-05-21
|
* releasing version 8.1.6Joey Hess2011-04-28
|
* dh_ucf: Fix missing space before ']'s in postrm autoscript.Jeroen Schot2011-04-28
| | | | | While making postrm-ucf more like the other autoscripts I introduced two typo's in the code. This patch fixes them.
* releasing version 8.1.5Joey Hess2011-04-27
|
* dh_installgsettings: Correct bug in use of find that caused some gsettings ↵Joey Hess2011-04-27
| | | | files to be missed. Closes: #624377
* update for dh_ucfJoey Hess2011-04-25
|
* docsJoey Hess2011-04-25
|
* fix synopsisJoey Hess2011-04-25
| | | | does not process files from ARGV
* rename to dh_ucfJoey Hess2011-04-25
| | | | does not actually install stuff
* Bug#213078: debhelper: please consider providing dh_ucfJeroen Schot2011-04-25
| | | | | | Here is a patch against the master branch that adds such a command called dh_installucf. It also registers the conffiles with ucfr and removes stray ucf-{new,old,dist} files on purge.
* releasing version 8.1.4Joey Hess2011-04-22
|
* changelogJoey Hess2011-04-22
|
* Typo's in documentation regarding {pre,post}{inst,rm}Jeroen Schot2011-04-22
|
* dh_clean: Remove debhelper logs for all packages, including packages not ↵Joey Hess2011-04-21
| | | | being acted on. dh can sometimes produce such logs by accident when passed bundled options (like "-Nfoo" instead of "-N foo") that it does not understand; and it was not possible to fix that for any compat level before v8. But also, such logs can occur for other reasons, like interrupted builds during development, and it should be safe to clean them all. Closes: #623446
* releasing version 8.1.3Joey Hess2011-04-05
|
* reorder v9 section and add missing =backJoey Hess2011-04-05
|
* bugfixJoey Hess2011-04-03
|
* Merge branch 'master' of ssh://git.debian.org/git/debhelper/debhelperJoey Hess2011-04-03
|\
| * French translation updateValery Perrin2011-04-03
| |
* | fix name of programJoey Hess2011-04-03
|/
* dh_installgsettings: New command to handle gsettings schema files. Closes: ↵Joey Hess2011-04-01
| | | | #604727
* Removed old example rules files.Joey Hess2011-04-01
|
* Depend on dpkg-dev (>= 1.16.0) for multiarch support.Joey Hess2011-03-12
| | | | | | Note to backporters: If you remove that dependency, debhelper will fall back to not doing multiarch stuff in v9 mode, which is probably what you want.