Package: dh-make
Version: 0.40
Severity: wishlist
Tags: patch
>From debhelper manpage:
-s, --same-arch
This is a smarter version of the -a flag, that is used in some rare
circumstances. It understands that if the control file lists
"Architecture: i386" for the package, the package should not be
acted on on other architectures. So this flag makes the command act
on all "Architecture: any" packages, as well as on any packages
that have the current architecture explicitly specified. Contrast
to the -a flag, which makes the command work on all packages that
are not architecture independent.
On normal situations, -s behaves the same as -a. When the Architecture field in
one of the binary packages doesn't match:
-a breaks build, making it impossible to have arch-specific packages
-s just ignores that package and proceeds with the others
Patch attached.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL
set to C)
Versions of packages dh-make depends on:
ii debhelper 5.0.10 helper programs for debian/rules
ii dpkg-dev 1.13.13 package building tools for Debian
ii make 3.80+3.81.b4-1 The GNU version of the "make" util
ii perl 5.8.7-10 Larry Wall's Practical Extraction
dh-make recommends no packages.
-- no debconf information
--- dh-make-0.40/lib/debianm/rules~ 2005-01-14 04:26:04.000000000 +0100
+++ dh-make-0.40/lib/debianm/rules 2006-02-02 13:37:02.000000000 +0100
@@ -116,7 +116,7 @@
# Build architecture dependant packages using the common target.
binary-arch: build-arch install-arch
- $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+ $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary install install-indep
install-arch #PHONY_CONFIGURE#