Follow-up Comment #1, bug #24487 (project make):

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.
"""


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24487>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to