summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-07-31 06:19:11 +0200
committerGuillem Jover <guillem@hadrons.org>2011-10-30 07:52:15 +0100
commit36bec1a60fcd1af1ffc93cefa5036f84942b4be7 (patch)
treeed2cf4e64ad95497ea138472cd6449e40505c1af
parent967f695c881a65f92c153bf7591d1abc1ed01a29 (diff)
downloadinetutils-36bec1a60fcd1af1ffc93cefa5036f84942b4be7.tar.gz
Add build-indep and build-arch targets (rename build to build-arch)
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules9
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index c3be0ca..479da4c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ inetutils (2:1.8-4) UNRELEASED; urgency=low
* Do not change inetutils-syslogd Section to base on non-Linux architectures
as that section does not exist any longer, just inherit it from the
source stanza.
+ * Add build-indep and build-arch targets (rename build to build-arch).
-- Guillem Jover <guillem@debian.org> Wed, 02 Feb 2011 05:43:10 +0100
diff --git a/debian/rules b/debian/rules
index 97660e3..6c3320c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,11 +54,15 @@ config.status: configure
--with-wrap \
--with-pam
-build: debian/control config.status
+build-indep:
+
+build-arch: debian/control config.status
dh_testdir
$(MAKE) CFLAGS="$(CFLAGS)"
+build: build-indep build-arch
+
# We need it forced on all builds.
.PHONY: debian/control
@@ -157,5 +161,6 @@ binary-arch: install
binary: binary-indep binary-arch
-.PHONY: build build-udeb clean binary-indep binary-arch binary install
+.PHONY: build-indep build-arch build build-udeb
+.PHONY: clean install binary-indep binary-arch binary