From 262e668873721fc725b93de45bf4938a4ee006f0 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 9 Jan 2012 15:23:21 +0100 Subject: [PATCH] rules: Split 'build' target into 'build-arch' and 'build-indep'. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit … as recommended by policy. --- debian/changelog | 4 +++- debian/rules | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 20dd09a..87c9f01 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,6 +25,8 @@ collectd (4.10.4-1) unstable; urgency=low * debian/rules: - Append DEB_BUILD_ARCH to JAVA_HOME; this is how it's done in the OpenJDK package. + - Split 'build' target into 'build-arch' and 'build-indep' as recommended + by policy. * debian/patches/ipvs_h_include, debian/rules: - Let the ipvs plugin use linux/ip_vs.h rather than net/ip_vs.h. Also, make sure to look for the header in /usr/include rather than the kernel @@ -32,7 +34,7 @@ collectd (4.10.4-1) unstable; urgency=low - Force building of the ipvs plugin since configure is not currently able to correctly check for ip_vs.h. - -- Sebastian Harl Mon, 09 Jan 2012 14:35:27 +0100 + -- Sebastian Harl Mon, 09 Jan 2012 15:22:45 +0100 collectd (4.10.1-2.1) unstable; urgency=high diff --git a/debian/rules b/debian/rules index 7d8139a..5e7add1 100755 --- a/debian/rules +++ b/debian/rules @@ -160,7 +160,9 @@ config.status: configure $(DPATCH_STAMPFN) JAVA_LDFLAGS="$(JAVA_LDFLAGS)" \ || ( status=$$?; cat config.log; exit $$status ) -build: build-stamp +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: config.status dh_testdir @@ -270,5 +272,5 @@ binary-arch: build install-arch dh_builddeb -a binary: binary-arch binary-indep -.PHONY: build clean binary-indep binary-arch binary install-indep install-arch +.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install-indep install-arch -- 2.30.2