On Tue, Oct 11, 2016 at 11:07:13AM -0300, Felipe Sateler wrote: > > I suggest the patch below to fix this. It makes debian/rules a little bit > > shorter > > and maybe a little bit more dh-style. > > The build target is there because otherwise make does not consider it > phony (the build system generates a build subdir).
I don't think that's a real problem. Please try doing this after applying the patch I suggested: debian/rules build You will see that it does what it is supposed to do (i.e. building the package). If your intention is that "debian/rules build" builds everything from scratch again if you do it a second time, you can't even do that with dh because of dh's own stamping system. For example, try "debian/rules build" on the hello package, then try "debian/rules build" again, you will see that it does not do anything the second time. Thanks.