Mon 12 Sep 2011 09:48:17 AM UTC, comment #1:
Is this perhaps the bug that causes the problems discussed at
http://glandium.org/blog/?p=2126
Quoting here so that you don't need to browse off-site:
"""
.PHONY: build
%:
dh $@
What do you think happens when you run debian/rules build in a directory containing a build file or directory?
make: Nothing to be done for `build’.
However, an explicit rule, like the following, works:
.PHONY: build
build:
dh $@
It happens that many of the packages I maintain contain a build subdirectory in their source. As such, to work around the aforementioned issue, I just declared the dh rules explicitely, as in:
.PHONY: build binary binary-arch binary-indep (...)
build binary binary-arch binary-indep (...):
dh $@
And this obviously doesn’t scale for new rules such as build-arch and build-indep.
"""
|