From ad676246f6d3c3ff8904a3561d4b6f23cb4d024d Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Tue, 9 Aug 2005 11:53:21 +0000 Subject: [PATCH] r3781: waldi | 2005-08-09 09:09:10 +0000 debian/rules: Use md5sum to check for changed input files in debian/control build. r3782: waldi | 2005-08-09 09:13:12 +0000 * debian/changelog: Prepare to release (2.6.12-2). * debian/templates/control.source.in: Add myself to Uploaders. svn path=/trunk/kernel/source/linux-2.6/; revision=3790 --- debian/changelog | 6 +++--- debian/rules | 10 ++++++++++ debian/templates/control.source.in | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4540cd7e6..3712a2ac9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,8 @@ linux-2.6 (2.6.12-3) UNRELEASED; urgency=low will be enabled. Closes: #321885 + * Link palinfo statically on ia64. (dann frazier) (Closes: #321885) + -- Simon Horman Tue, 9 Aug 2005 11:00:51 +0900 linux-2.6 (2.6.12-2) unstable; urgency=low @@ -70,9 +72,7 @@ linux-2.6 (2.6.12-2) unstable; urgency=low * Added list of flavours built to common header package. (Sven Luther) - * Link palinfo statically on ia64. (dann frazier) (Closes: #321885) - - -- Andres Salomon Mon, 08 Aug 2005 20:15:58 -0400 + -- Bastian Blank Tue, 09 Aug 2005 11:12:40 +0200 linux-2.6 (2.6.12-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 0d06a9ab2..4b2f0776a 100755 --- a/debian/rules +++ b/debian/rules @@ -229,7 +229,17 @@ binary: binary-indep binary-arch # variable values into the template. # debian/control: debian/bin/gencontrol.py debian/changelog $(wildcard debian/templates/control.*.in) + if [ -f debian/control.md5sum ]; then \ + if md5sum $^ | diff - debian/control.md5sum > /dev/null; then true; else \ + $(MAKE) -f debian/rules debian/control-real; \ + fi \ + else \ + $(MAKE) -f debian/rules debian/control-real; \ + fi + +debian/control-real: debian/bin/gencontrol.py debian/changelog $(wildcard debian/templates/control.*.in) debian/bin/gencontrol.py + md5sum $^ > debian/control.md5sum @echo @echo This target is made to fail intentionally, to make sure @echo that it is NEVER run during the automated build. Please diff --git a/debian/templates/control.source.in b/debian/templates/control.source.in index 65c11e024..d68dc1e62 100644 --- a/debian/templates/control.source.in +++ b/debian/templates/control.source.in @@ -2,7 +2,7 @@ Source: linux-@major@ Section: devel Priority: optional Maintainer: Debian Kernel Team -Uploaders: Andres Salomon +Uploaders: Andres Salomon , Bastian Blank Standards-Version: 3.6.1.0 Build-Depends: gcc (>= 4:4.0) [!sparc !alpha !m68k], gcc-3.3 [sparc alpha m68k], debhelper (>= 4.1.0), module-init-tools, dpkg-dev (>= 1.10.23), debianutils (>= 1.6), bzip2, console-tools [!s390], sparc-utils [sparc], kernel-package (>= 9.005) Build-Depends-Indep: docbook-utils, gs, transfig, xmlto, dh-kpatches (>= 0.99.3)