]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Add md5sums control file
authorRuss Allbery <rra@debian.org>
Sun, 16 Mar 2008 20:17:12 +0000 (20:17 +0000)
committerRuss Allbery <rra@debian.org>
Sun, 16 Mar 2008 20:17:12 +0000 (20:17 +0000)
Add an md5sums control file to the debian-policy package.

git-archimport-id: rra@debian.org--lenny/debian-policy--devel--3.7--patch-39

debian/changelog
debian/rules

index 99a6039da17f0da444624a6c1e6df4c7598a7716..ac674e9c1432037fe957a39541549a222f438ad0 100644 (file)
@@ -23,6 +23,7 @@ debian-policy (3.7.4.0) unstable; urgency=low
     to Josh Triplett                                         (Closes: #455602).
   * Bug fix: "Minor typos and wording suggestions", thanks to Michael
     Tautschnig                                               (Closes: #422552).
+  * Add an md5sums control file.
   * Remove build system support for FHS 2.1 and FSSTND, mostly commented out.
   * Remove the FSSTND license from debian/copyright; no FSSTND files are
     currently part of policy.
index 1f5fabad0bc3b4ec836c49b8989069725c9a3399..1e31ad42664f77226b76326e76606098a9eabab2 100755 (executable)
@@ -153,6 +153,9 @@ stamp-policy:  build $(sanitycheck)
          tar -C $(DOCDIR) -zxf $$file.html.tar.gz; \
        done
        $(install_file)     $(FHS_HTML)   $(DOCDIR)/fhs
+       @set -ex; \
+       cd debian/tmp; \
+       find . -type f -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums
        sed -e 's/#PACKAGE#/$(package)/g' debian/postinst.in > debian/postinst
        sed -e 's/#PACKAGE#/$(package)/g' debian/prerm.in > debian/prerm
        $(install_program)  debian/postinst          debian/tmp/DEBIAN/