Re: md5sums files
James Vega <email@example.com> writes:
> On Thu, Mar 04, 2010 at 02:11:55AM +0100, Harald Braumann wrote:
>> I think I was finally able to decipher your message. But my other
>> points still hold. And while it is just a matter of programming, simple
>> or not, it already exists in debhelper. So doing it at build time is
>> SMOAOLTDR, by which I mean "simply a matter of adding one line to
> You make the mistake of assuming everyone use debhelper.
@set -ex; \
cd debian/tmp; \
find . -path "./DEBIAN" -prune -o -type f -printf '%P\0' \
| xargs -r0 md5sum > DEBIAN/md5sums
(from debian-policy's rules file). dh_md5sums isn't particularly
complicated, although admittedly it deals with a few more cases for you,
such as multiple packages.
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>