[debhelper-devel] Bug#880840: debhelper: build makefile rule does not replace dh build sequence

James Cowgill jcowgill at debian.org
Mon Nov 6 14:41:06 UTC 2017


Hi,

On 05/11/17 13:13, Mattia Rizzolo wrote:
> On Sun, Nov 05, 2017 at 08:23:00AM +0000, Niels Thykier wrote:
>>> libopenmpt has a "build" target in debian/rules because upstream ships a
>>> top-level "build" directory and make will cause "debian/rules build" to
>>> be a no-op otherwise.
>>
>> I believe you need to explicitly define the build-arch and build-indep
>> targets as well.  The reason being that:
> 
> Other than that, I wonder if you actually need the target; isn't adding
> them to .PHONY enough?

Make ignores implicit rules (like %: dh $@) for phony targets.

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20171106/a8cb46f2/attachment-0001.sig>


More information about the debhelper-devel mailing list