[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #24487] "foo" should not be identified with "./foo" if foo is phony
From: |
Timo Lindfors |
Subject: |
[bug #24487] "foo" should not be identified with "./foo" if foo is phony |
Date: |
Mon, 12 Sep 2011 09:48:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110815 Iceweasel/3.5.16 (like Firefox/3.5.16) |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #24487] "foo" should not be identified with "./foo" if foo is phony,
Timo Lindfors <=