]> git.donarmstrong.com Git - debhelper.git/log
debhelper.git
12 years agoreleasing version 8.9.0 8.9.0
Joey Hess [Fri, 24 Jun 2011 18:32:13 +0000 (14:32 -0400)]
releasing version 8.9.0

12 years agodh_auto_configure: If there is a problem with cmake, display the CMakeCache.txt.
Joey Hess [Fri, 24 Jun 2011 18:25:35 +0000 (14:25 -0400)]
dh_auto_configure: If there is a problem with cmake, display the CMakeCache.txt.

12 years agoRevert "Always respect DEB_${flag}_{APPEND,SET} envvars."
Joey Hess [Mon, 20 Jun 2011 15:49:15 +0000 (11:49 -0400)]
Revert "Always respect DEB_${flag}_{APPEND,SET} envvars."

This reverts commit fcfcd1298f6ea1fcfb2b2b5a529303270aa800d9.

Per Raphael's mail.

12 years agoreorder
Joey Hess [Sun, 19 Jun 2011 22:01:59 +0000 (18:01 -0400)]
reorder

12 years agoAlways respect DEB_${flag}_{APPEND,SET} envvars.
Modestas Vainius [Sun, 19 Jun 2011 20:53:14 +0000 (23:53 +0300)]
Always respect DEB_${flag}_{APPEND,SET} envvars.

Do that even when dpkg-buildpackage modifies environment variables. Also
document DEB_${flag}_{APPEND,SET} as recommended way to override standard build
flags.

12 years agoIn the unlikely case Dpkg::BuildFlags fails, don't do anything.
Modestas Vainius [Sun, 19 Jun 2011 19:05:08 +0000 (22:05 +0300)]
In the unlikely case Dpkg::BuildFlags fails, don't do anything.

12 years agoupdate
Joey Hess [Sun, 19 Jun 2011 18:20:30 +0000 (14:20 -0400)]
update

12 years agoUse Dpkg::BuildFlags module directly in set_buildflags().
Modestas Vainius [Sat, 18 Jun 2011 20:02:42 +0000 (23:02 +0300)]
Use Dpkg::BuildFlags module directly in set_buildflags().

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.

12 years agoCorrect docs about multiarch and v9. Closes: #630826
Joey Hess [Fri, 17 Jun 2011 18:13:05 +0000 (14:13 -0400)]
Correct docs about multiarch and v9. Closes: #630826

12 years agoFix =>/>= typo in dh_makeshlibs(1).
Cyril Brulebois [Thu, 16 Jun 2011 08:32:34 +0000 (10:32 +0200)]
Fix =>/>= typo in dh_makeshlibs(1).

12 years agoMerge branch 'master' into smarter-targets origin/smarter-targets
Joey Hess [Tue, 14 Jun 2011 21:25:24 +0000 (17:25 -0400)]
Merge branch 'master' into smarter-targets

Conflicts:
dh

12 years agodpkg-buildflags support
Joey Hess [Tue, 14 Jun 2011 21:22:34 +0000 (17:22 -0400)]
dpkg-buildflags support

* 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.

12 years agoMerge branch 'master' into smarter-targets
Joey Hess [Tue, 14 Jun 2011 20:17:09 +0000 (16:17 -0400)]
Merge branch 'master' into smarter-targets

Conflicts:
debhelper.pod
debian/changelog

12 years agodh_auto_configure: In v9, does not include the source package name in --libexecdir...
Joey Hess [Tue, 14 Jun 2011 20:14:56 +0000 (16:14 -0400)]
dh_auto_configure: In v9, does not include the source package name in --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).

12 years agoDon't add package name to libexecdir in v9
Roger Leigh [Tue, 14 Jun 2011 19:43:03 +0000 (20:43 +0100)]
Don't add package name to libexecdir in v9

12 years agodh: rules function joins array argument
Roger Leigh [Tue, 14 Jun 2011 18:30:59 +0000 (19:30 +0100)]
dh: rules function joins array argument

Appending @_ to a string appends the array length rather than
the array contents, so join with separating whitespace.

12 years agoremove internal rules:target stuff
Joey Hess [Tue, 14 Jun 2011 16:39:15 +0000 (12:39 -0400)]
remove internal rules:target stuff

12 years agoavoid infinite recursion
Joey Hess [Tue, 14 Jun 2011 16:24:31 +0000 (12:24 -0400)]
avoid infinite recursion

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.

12 years agohonor empty targets
Joey Hess [Mon, 13 Jun 2011 23:13:32 +0000 (19:13 -0400)]
honor empty targets

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.

12 years agomake standard targets support a v9 feature
Joey Hess [Mon, 13 Jun 2011 21:51:51 +0000 (17:51 -0400)]
make standard targets support a v9 feature

12 years agochangelog
Joey Hess [Mon, 13 Jun 2011 21:40:02 +0000 (17:40 -0400)]
changelog

12 years agoinline sequences to optimize away recursive calls to make/dh for implicit targets
Joey Hess [Mon, 13 Jun 2011 21:00:08 +0000 (17:00 -0400)]
inline sequences to optimize away recursive calls to make/dh for implicit 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. :)

12 years agoimprove sequence logic
Joey Hess [Mon, 13 Jun 2011 20:41:21 +0000 (16:41 -0400)]
improve sequence logic

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.

12 years agodoc updates for recent changes
Joey Hess [Mon, 13 Jun 2011 20:31:15 +0000 (16:31 -0400)]
doc updates for recent changes

12 years agomove dh_auto_configure out of @bd_minimal
Joey Hess [Mon, 13 Jun 2011 20:14:59 +0000 (16:14 -0400)]
move dh_auto_configure out of @bd_minimal

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)

12 years agoremove calls to build-arch, install-arch, etc
Joey Hess [Mon, 13 Jun 2011 20:03:19 +0000 (16:03 -0400)]
remove calls to build-arch, install-arch, etc

These calls are no-ops, unless explicit targets exist, and in that case
later code rewrites the build and install sequences to include them.

12 years agominor cleanups, no substantial code changes
Joey Hess [Mon, 13 Jun 2011 19:43:58 +0000 (15:43 -0400)]
minor cleanups, no substantial code changes

12 years agodh: Use minimal sequences if delegating work
Roger Leigh [Sun, 12 Jun 2011 19:22:43 +0000 (20:22 +0100)]
dh: Use minimal sequences if delegating work

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.

12 years agodh: Add sequence dependency support
Roger Leigh [Fri, 3 Jun 2011 19:41:30 +0000 (20:41 +0100)]
dh: Add sequence dependency support

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>
12 years agodh_movefiles: Optimise use of xargs. Closes: #627737
Joey Hess [Mon, 30 May 2011 18:45:55 +0000 (14:45 -0400)]
dh_movefiles: Optimise use of xargs. Closes: #627737

12 years agoFix error message. Closes: #628053
Joey Hess [Fri, 27 May 2011 13:39:08 +0000 (09:39 -0400)]
Fix error message. Closes: #628053

12 years agoFix example. Closes: #627534
Joey Hess [Sat, 21 May 2011 19:25:49 +0000 (15:25 -0400)]
Fix example. Closes: #627534

13 years agoreleasing version 8.1.6 8.1.6
Joey Hess [Thu, 28 Apr 2011 16:35:57 +0000 (12:35 -0400)]
releasing version 8.1.6

13 years agodh_ucf: Fix missing space before ']'s in postrm autoscript.
Jeroen Schot [Thu, 28 Apr 2011 14:49:01 +0000 (16:49 +0200)]
dh_ucf: Fix missing space before ']'s in postrm autoscript.

While making postrm-ucf more like the other autoscripts I introduced two typo's
in the code. This patch fixes them.

13 years agoreleasing version 8.1.5 8.1.5
Joey Hess [Thu, 28 Apr 2011 03:01:32 +0000 (23:01 -0400)]
releasing version 8.1.5

13 years agodh_installgsettings: Correct bug in use of find that caused some gsettings files...
Joey Hess [Thu, 28 Apr 2011 01:33:48 +0000 (21:33 -0400)]
dh_installgsettings: Correct bug in use of find that caused some  gsettings files to be missed. Closes: #624377

13 years agoupdate for dh_ucf
Joey Hess [Mon, 25 Apr 2011 23:29:59 +0000 (19:29 -0400)]
update for dh_ucf

13 years agodocs
Joey Hess [Mon, 25 Apr 2011 23:29:22 +0000 (19:29 -0400)]
docs

13 years agofix synopsis
Joey Hess [Mon, 25 Apr 2011 23:27:09 +0000 (19:27 -0400)]
fix synopsis

does not process files from ARGV

13 years agorename to dh_ucf
Joey Hess [Mon, 25 Apr 2011 23:26:48 +0000 (19:26 -0400)]
rename to dh_ucf

does not actually install stuff

13 years agoBug#213078: debhelper: please consider providing dh_ucf
Jeroen Schot [Fri, 22 Apr 2011 10:15:10 +0000 (12:15 +0200)]
Bug#213078: debhelper: please consider providing dh_ucf

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.

13 years agoreleasing version 8.1.4 8.1.4
Joey Hess [Fri, 22 Apr 2011 20:27:24 +0000 (16:27 -0400)]
releasing version 8.1.4

13 years agochangelog
Joey Hess [Fri, 22 Apr 2011 20:13:53 +0000 (16:13 -0400)]
changelog

13 years agoTypo's in documentation regarding {pre,post}{inst,rm}
Jeroen Schot [Fri, 22 Apr 2011 12:05:42 +0000 (14:05 +0200)]
Typo's in documentation regarding {pre,post}{inst,rm}

13 years agodh_clean: Remove debhelper logs for all packages, including packages not being acted...
Joey Hess [Thu, 21 Apr 2011 18:12:03 +0000 (14:12 -0400)]
dh_clean: Remove debhelper logs for all packages, including packages not 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

13 years agoreleasing version 8.1.3 8.1.3
Joey Hess [Tue, 5 Apr 2011 17:25:35 +0000 (13:25 -0400)]
releasing version 8.1.3

13 years agoreorder v9 section and add missing =back
Joey Hess [Tue, 5 Apr 2011 17:16:59 +0000 (13:16 -0400)]
reorder v9 section and add missing =back

13 years agobugfix
Joey Hess [Sun, 3 Apr 2011 17:23:14 +0000 (13:23 -0400)]
bugfix

13 years agoMerge branch 'master' of ssh://git.debian.org/git/debhelper/debhelper
Joey Hess [Sun, 3 Apr 2011 17:23:08 +0000 (13:23 -0400)]
Merge branch 'master' of ssh://git.debian.org/git/debhelper/debhelper

13 years agofix name of program
Joey Hess [Sun, 3 Apr 2011 17:21:06 +0000 (13:21 -0400)]
fix name of program

13 years agoFrench translation update
Valery Perrin [Sun, 3 Apr 2011 15:44:59 +0000 (17:44 +0200)]
French translation update

13 years agodh_installgsettings: New command to handle gsettings schema files. Closes: #604727
Joey Hess [Fri, 1 Apr 2011 18:54:32 +0000 (14:54 -0400)]
dh_installgsettings: New command to handle gsettings schema files. Closes: #604727

13 years agoRemoved old example rules files.
Joey Hess [Fri, 1 Apr 2011 18:48:33 +0000 (14:48 -0400)]
Removed old example rules files.

13 years agoDepend on dpkg-dev (>= 1.16.0) for multiarch support.
Joey Hess [Sat, 12 Mar 2011 18:20:53 +0000 (14:20 -0400)]
Depend on dpkg-dev (>= 1.16.0) for multiarch support.

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.

13 years agodocumentation
Joey Hess [Sat, 12 Mar 2011 18:16:55 +0000 (14:16 -0400)]
documentation

13 years agoavoid depending on a dpkg that has DEB_HOST_MULTIARCH
Joey Hess [Sat, 12 Mar 2011 18:04:55 +0000 (14:04 -0400)]
avoid depending on a dpkg that has DEB_HOST_MULTIARCH

13 years agolayout
Joey Hess [Sat, 12 Mar 2011 18:00:18 +0000 (14:00 -0400)]
layout

13 years agoAdd support for multiarch.
Steve Langasek [Fri, 11 Mar 2011 06:28:24 +0000 (22:28 -0800)]
Add support for multiarch.

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.

13 years agodh_auto_clean: Inhibit logging, so that, if dh_auto_clean is used in some rule other...
Joey Hess [Sun, 27 Feb 2011 19:44:10 +0000 (15:44 -0400)]
dh_auto_clean: Inhibit logging, so that, if dh_auto_clean is used in some rule other than clean, perhaps to clean up an intermediate build before a second build is run, debian/rules clean still runs it. Closes: #615553

13 years agotypo
Joey Hess [Sat, 26 Feb 2011 19:26:31 +0000 (15:26 -0400)]
typo

13 years agoreleasing version 8.1.2 8.1.2
Joey Hess [Mon, 14 Feb 2011 18:30:35 +0000 (14:30 -0400)]
releasing version 8.1.2

13 years agoFix logging at end of an override target that never actually runs the overridden...
Joey Hess [Mon, 14 Feb 2011 18:22:14 +0000 (14:22 -0400)]
Fix logging at end of an override target that never actually runs the overridden command. Closes: #613418

13 years agotypo
Joey Hess [Sun, 13 Feb 2011 20:55:07 +0000 (16:55 -0400)]
typo

13 years agoreleasing version 8.1.1 8.1.1
Joey Hess [Fri, 11 Feb 2011 00:21:49 +0000 (20:21 -0400)]
releasing version 8.1.1

13 years agofix unterminated S<..> in spanish po
Joey Hess [Fri, 11 Feb 2011 00:21:27 +0000 (20:21 -0400)]
fix unterminated S<..> in spanish po

13 years agoImprove handling of logging in override targets
Joey Hess [Thu, 10 Feb 2011 23:56:44 +0000 (19:56 -0400)]
Improve handling of logging in override targets

Changes in 76ef1cbd64829ee4a5156a5fc4b887bcba6b974f broke
--remaining-packages in override target.

Now all debhelper commands run in the override target are marked as running
as part of the override, and when the whole target is run, the log is
updated to indicate that commands run during the override have finished.

So, inside the override target, --remaining-packages will see the commands
run as part of the target as having been run. Outside, if the target
fails, dh won't see the commands run it it as having been run.

Closes: #612828
13 years agochangelog
Joey Hess [Tue, 8 Feb 2011 19:33:04 +0000 (15:33 -0400)]
changelog

13 years agorefactor cross command generation
Joey Hess [Tue, 8 Feb 2011 19:32:22 +0000 (15:32 -0400)]
refactor cross command generation

13 years agomerge
Joey Hess [Tue, 8 Feb 2011 19:26:28 +0000 (15:26 -0400)]
merge

13 years agoUse cross-binutils helpers when cross-compiling
Loïc Minier [Tue, 20 Apr 2010 08:22:57 +0000 (10:22 +0200)]
Use cross-binutils helpers when cross-compiling

dh_strip, dh_makeshlibs: use triplet-objdump, triplet-objcopy and
triplet-strip from cross-binutils when cross-compiling; closes: #412118.

13 years agoreleasing version 8.1.0 8.1.0
Joey Hess [Sun, 6 Feb 2011 01:29:31 +0000 (21:29 -0400)]
releasing version 8.1.0

13 years agoremove MODULEBUILDRC override
Joey Hess [Tue, 25 Jan 2011 21:13:21 +0000 (17:13 -0400)]
remove MODULEBUILDRC override

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.

13 years agochangelog
Joey Hess [Tue, 25 Jan 2011 20:01:08 +0000 (16:01 -0400)]
changelog

13 years agodh_installinit: never call init scripts directly, only through invoke-rc.d
Steve Langasek [Mon, 17 Jan 2011 09:52:12 +0000 (01:52 -0800)]
dh_installinit: never call init scripts directly, only through invoke-rc.d

13 years agoupdate to DEP-5
Joey Hess [Thu, 13 Jan 2011 22:10:50 +0000 (18:10 -0400)]
update to DEP-5

13 years agodh_compress: Ignore objects.inv files, generated by Sphinx documentation. Closes...
Joey Hess [Tue, 4 Jan 2011 16:54:03 +0000 (12:54 -0400)]
dh_compress: Ignore objects.inv files, generated by Sphinx documentation. Closes: #608907

13 years agoIgnore objects.inv files, generated by Sphinx documentation
Josselin Mouette [Tue, 4 Jan 2011 13:04:41 +0000 (14:04 +0100)]
Ignore objects.inv files, generated by Sphinx documentation

13 years agodh_compress: Javascript files are not compressed, as these go with (uncompressed...
Joey Hess [Wed, 22 Dec 2010 18:49:18 +0000 (14:49 -0400)]
dh_compress: Javascript files are not compressed, as these go with (uncompressed) html files. Closes: #603553

13 years agoRevert "changelog"
Joey Hess [Tue, 7 Dec 2010 19:53:28 +0000 (15:53 -0400)]
Revert "changelog"

This reverts commit c91178b5e6d02a057eec471eab4837db1e3a2f6c.

13 years agoRevert "dh: Add sequence dependencies and satisfy dependencies prior to running sequence"
Joey Hess [Tue, 7 Dec 2010 19:53:12 +0000 (15:53 -0400)]
Revert "dh: Add sequence dependencies and satisfy dependencies prior to running sequence"

This reverts commit c685546d18606fafee2ad9d3a1cb3d90dd7e9d5e.

Caused extra work, and possible FTBFS conditions.

13 years agochangelog
Joey Hess [Tue, 7 Dec 2010 17:50:50 +0000 (13:50 -0400)]
changelog

13 years agodh: Add sequence dependencies and satisfy dependencies prior to running sequence
Roger Leigh [Tue, 23 Nov 2010 18:00:06 +0000 (18:00 +0000)]
dh: Add sequence dependencies and satisfy dependencies prior to running sequence

Add %sequence_deps and invoke recursively prior to examining logs and
running commands in sequence.  The supplied dependencies are equivalent
to the following make rules:

build: build-arch build-indep
install: install-arch install-indep
install-arch: build-arch
install-indep: build-indep
binary: binary-arch binary-indep
binary-arch: install-arch
binary-indep: install-indep

In the existing dh command sequences, the binary sequences all included
the corresponding install sequence commands, and in turn the install
sequences all included the corresponding build commands.  While this
works, it has a major deficiency.  If the "binary" sequence is run, it
will not run the "build" target in debian/rules.  This leads to a
situation where building with dpkg-buildpackge, which would typically
invoke "debian/rules build" followed by "debian/rules binary-arch"
and/or "debian/rules debian-indep" may do something different than
just invoking "debian/rules binary" or "dh binary" because the build
target in debian/rules is effectively bypassed.  This applies equally
to the -arch and -indep sequence variants.

This change eliminates the duplicated sequence commands, and instead
invokes the appropriate target(s) in debian/rules, as specified in the
%sequence_deps hash.  In the common case, the dh sequence by the same
name will be called, so the behaviour is identical.  However, this
provides a means to utilise all of the policy-specified targets, plus
the install targets and extend them with additional dependencies and
commands, while still allowing full use of dh and giving identical
behaviour whether dh or debian/rules targets are used.

Signed-off-by: Roger Leigh <rleigh@debian.org>
13 years agodh: Use "architecture independent" rather than "binary independent" for consistency
Roger Leigh [Sat, 27 Nov 2010 11:43:32 +0000 (11:43 +0000)]
dh: Use "architecture independent" rather than "binary independent" for consistency

Signed-off-by: Roger Leigh <rleigh@debian.org>
13 years agodh_installdocs: Clarify that debian/README.Debian and debian/TODO are only installed...
Joey Hess [Sun, 5 Dec 2010 20:31:06 +0000 (16:31 -0400)]
dh_installdocs: Clarify that debian/README.Debian and debian/TODO are only installed into the first package listed in debian/control. Closes: #606036

13 years agodh_listpackages: Do not display warnings if options cause no packages to be listed.
Joey Hess [Mon, 22 Nov 2010 23:23:29 +0000 (19:23 -0400)]
dh_listpackages: Do not display warnings if options cause no packages to be listed.

13 years agochangelog
Joey Hess [Mon, 22 Nov 2010 23:03:12 +0000 (19:03 -0400)]
changelog

13 years agodh: Add support for build-arch, build-indep, install-arch and install-indep sequences
Roger Leigh [Mon, 22 Nov 2010 20:58:20 +0000 (20:58 +0000)]
dh: Add support for build-arch, build-indep, install-arch and install-indep sequences

The existing binary-arch and binary-indep sequences depend upon these
new sequences, leading to the following possible orders:

binary → install → build
binary-arch → install-arch → build-arch
binary-indep → install-indep → build-indep

This is the logical dependency ordering of the sequences; the actual
order is of course in reverse so that build is followed by install
and binary.

Signed-off-by: Roger Leigh <rleigh@debian.org>
13 years agoreorder
Joey Hess [Mon, 22 Nov 2010 21:54:35 +0000 (17:54 -0400)]
reorder

13 years agodh: Improve filtering in dh_listpackages example. Closes: #604561
Joey Hess [Mon, 22 Nov 2010 21:53:22 +0000 (17:53 -0400)]
dh: Improve filtering in dh_listpackages example. Closes: #604561

13 years agodh: Use $(filter) rather than $(findstring)
Roger Leigh [Mon, 22 Nov 2010 21:03:24 +0000 (21:03 +0000)]
dh: Use $(filter) rather than $(findstring)

$(findstring) can match partial strings and so is unreliable when a
package builds several binary packages and one package contains the
name of another package within its name.  In these cases,
$(findstring) can return a partial match which leads to problems
(performing unwanted actions which could lead to build failure, for
example).

$(filter) matches the entire string in the wordlist, so is a
reliable replacement for $(findstring).

Signed-off-by: Roger Leigh <rleigh@debian.org>
13 years agoupdated spanish translation after large typography change
Joey Hess [Thu, 11 Nov 2010 22:32:58 +0000 (18:32 -0400)]
updated spanish translation after large typography change

13 years agoFrench translation update after massive man page typography
Valéry Perrin [Sun, 7 Nov 2010 17:30:24 +0000 (18:30 +0100)]
French translation update after massive man page typography

Signed-off-by: Valéry Perrin <valery.perrin.debian@free.fr>
13 years agoFix deprecated command list on translated debhelper(7) man pages. Closes: #601204
Joey Hess [Wed, 3 Nov 2010 03:02:16 +0000 (23:02 -0400)]
Fix deprecated command list on translated debhelper(7) man pages. Closes: #601204

13 years agodh: Inhibit logging for commands run inside override targets
Joey Hess [Wed, 3 Nov 2010 02:48:01 +0000 (22:48 -0400)]
dh: Inhibit logging for commands run inside override targets

Note that only the overridden command is inhibited. I wanted to avoid a
behavior change if a rules file runs other debhelper commands inside the
target, and relies on the logging preventing them being run later on in
the sequence.

13 years agoExplicitly build-depend on a new enough perl-base. Closes: #601188
Joey Hess [Wed, 3 Nov 2010 02:25:18 +0000 (22:25 -0400)]
Explicitly build-depend on a new enough perl-base. Closes: #601188

13 years agobugclose
Joey Hess [Wed, 3 Nov 2010 02:24:24 +0000 (22:24 -0400)]
bugclose

13 years agotypo
Joey Hess [Wed, 3 Nov 2010 02:24:09 +0000 (22:24 -0400)]
typo

13 years agoApply manual pages conventions
David Prévot [Tue, 19 Oct 2010 22:54:32 +0000 (18:54 -0400)]
Apply manual pages conventions

As advised in man(1), always use: B<bold text> type exactly as shown.
I<italic text> replace with appropriate argument.

s/debian/Debian/ if needed. s/  / / also.

s/perl/Perl/ s/python/Python/ and s/emacs/Emacs/ too.

13 years agotypo
Joey Hess [Wed, 3 Nov 2010 00:10:20 +0000 (20:10 -0400)]
typo

13 years agomaintscript files
Joey Hess [Tue, 2 Nov 2010 20:24:04 +0000 (16:24 -0400)]
maintscript files

dh_installdeb: Support debian/package.maintscript files, which can contain
dpkg-maintscript-helper commands. This can be used to automate moving or
removing conffiles, or anything added to dpkg-maintscript-helper later on.
Closes: #574443 (Thanks, Colin Watson)