Package: dh-exec Severity: wishlist Dear Maintainer,
Please consider adding some way to filter if a particular rule should be executed based on the architecture it is being built on. 14:04 < algernon> ie, lines prefixed with [amd64, i386, kfreebsd-*] would only get executed for those arches This would be really useful when eg. foo.install and foo.install.linux are mostly a duplication of each other. Duplication is bad. Would be better to be able to have one file where one install rule is conditional. Current best way to do this that I've found is to use blurbs like these in debian/rules: ifeq ($(DEB_HOST_ARCH),xyz) install .... endif This is easier to maintain then duplication, but appart from quickly cluttering up the rules file it also has negative effect on --list-missing. Regards, Andreas Henriksson -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org