Source: util-linux Version: 2.19.1-5 Severity: wishlist Tags: patch User: [email protected] Usertags: build-arch-target
Hi, Please see attached patch as an example of how to do this. For more information, please refer to [1]. NB: I would have done this patch against the git master, but the repository seemed out of date so I did it against the version in sid instead. ~Niels [1] https://wiki.debian.org/ReleaseGoals/BuildArchTarget
diff -u util-linux-2.19.1/debian/rules util-linux-2.19.1/debian/rules --- util-linux-2.19.1/debian/rules +++ util-linux-2.19.1/debian/rules @@ -37,7 +37,9 @@ CONFOPTS += --with-selinux --enable-libmount-mount endif -build: build-stamp +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: dh_testdir ./configure $(CONFOPTS) $(CROSS) @@ -214 +216 @@ -.PHONY: build clean binary-indep binary-arch binary install configure +.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install configure diff -u util-linux-2.19.1/debian/changelog util-linux-2.19.1/debian/changelog --- util-linux-2.19.1/debian/changelog +++ util-linux-2.19.1/debian/changelog @@ -1,3 +1,10 @@ +util-linux (2.19.1-5.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Enable build-arch and build-indep targets in debian/rules. + + -- Niels Thykier <[email protected]> Fri, 11 Nov 2011 21:25:09 +0100 + util-linux (2.19.1-5) unstable; urgency=low * Conflict/Replace fstrim to provide smooth upgrades (closes: #627579)

