[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: False positive "doesn't match the target pattern" error
From: |
Masahiro Yamada |
Subject: |
Re: False positive "doesn't match the target pattern" error |
Date: |
Sun, 21 Aug 2022 09:35:05 +0900 |
On Sun, Aug 21, 2022 at 12:48 AM Dmitry Goncharov
<dgoncharov@users.sf.net> wrote:
>
> On Sat, Aug 20, 2022 at 11:36 AM Alejandro Colomar
> <alx.manpages@gmail.com> wrote:
> > Why does make(1) need to special-case a leading ./ ?
>
> If your makefile has a rule like
> foo.x: foo.z; cp $< $@
> then make foo.x and make ./foo.x both produce the same file.
>
> regards, Dmitry
This happens only for leading './'.
'foo' and '././././foo' are the same.
Make considers 'foo/bar' and 'foo/./bar'
as different targets.
--
Best Regards
Masahiro Yamada
- False positive "doesn't match the target pattern" error, Masahiro Yamada, 2022/08/20
- Re: False positive "doesn't match the target pattern" error, Dmitry Goncharov, 2022/08/20
- Re: False positive "doesn't match the target pattern" error, Alejandro Colomar, 2022/08/20
- Re: False positive "doesn't match the target pattern" error, David A. Wheeler, 2022/08/21
- Re: False positive "doesn't match the target pattern" error, Alejandro Colomar, 2022/08/22
- Re: False positive "doesn't match the target pattern" error, David A. Wheeler, 2022/08/22
- Re: False positive "doesn't match the target pattern" error, Alejandro Colomar, 2022/08/22
- Re: False positive "doesn't match the target pattern" error, Ingo Schwarze, 2022/08/24
Re: False positive "doesn't match the target pattern" error, Masahiro Yamada, 2022/08/20