On Mon, 19 Oct 2015, Guillem Jover wrote: > Package: hello-traditional > Version: 2.10-3 > Severity: wishlist > Tags: patch > > Hi! > > Here's a patch that tries to improve the rules targets. Here's the > rationale: > > * Change each binary specific target to depend on its matching build > target, so that there is no wasted work when doing an arch-indep or > arch-dep build. > * Make build a PHONY target, and stop using a stamp file. Those are > an antifeature any time that make can already track if it needs to > rebuild files. They also disallow modifying a file and trying to > rebuild the package w/o first cleaning it like with: > «dpkg-buildpackage -us -uc -nc» > * Split the configure step into its own target and use config.status > as its stamp file, because configure will run every time otherwise, > and its an artifact created by configure.
Hello Guillem. I will consider suggestion 1. I don't like suggestions 2 and 3. When I have a little bit more of time I'll explain. Thanks.