From: Henning Makholm <henning@makholm.net>
To: "Adam J. Richter" <adam@yggdrasil.com>
Cc: bug-make@gnu.org, linux-hams@vger.kernel.org,
linux-kernel@vger.kernel.org, sailer@ife.ee.ethz.ch
Subject: Re: make-3.79.1 bug breaks linux-2.5.24/drivers/net/hamradio/soundmodem
Date: 22 Jun 2002 15:51:24 +0200 [thread overview]
Message-ID: <yahadpnifqb.fsf@pc-043.diku.dk> (raw)
In-Reply-To: "Adam J. Richter"'s message of "Fri, 21 Jun 2002 23:57:38 -0700"
Scripsit "Adam J. Richter" <adam@yggdrasil.com>
[Warning: I am not the make maintainer; I just lurk on bug-make]
> $(obj)/sm_tbl_%: $(obj)/gentbl
> $<
> obj was set to "." /usr/src/linux/Rules.make, which was included
> earlier in the Makefile.
> Until the make bug is fixed, I have worked around the problem
> by replacing the rule with:
> $(obj)/sm_tbl_%: $(obj)/gentbl
> PATH=$(obj):$$PATH $<
That looks like an excessively complicated workaround. Why not just
$(obj)/sm_tbl_%: $(obj)/gentbl
$(obj)/gentbl
?
I'm not sure this is really a bug either. It is a Good Thing that make
tries to normalize the names of targets and dependencies internally,
lest the build may be incomplete or redundant if make does not realize
that foo.bar and ./foo.bar is the same file. It is quite reasonable
for $< to unfold to the *canonical* name of the file in question, I
think.
If one absolutely wants the command to use the exact form of the
dependency that's used in the dependency list, it's easy to simply
reproduce that form, replacing the % by $*
--
Henning Makholm "You are in a little twisting
maze of passages, all different"
next prev parent reply other threads:[~2002-06-22 13:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-22 6:57 make-3.79.1 bug breaks linux-2.5.24/drivers/net/hamradio/soundmodem Adam J. Richter
2002-06-22 13:51 ` Henning Makholm [this message]
2002-06-22 20:23 ` Riley Williams
2002-06-22 21:24 ` Kai Germaschewski
2002-06-24 12:00 ` Henning Makholm
2002-06-24 15:33 ` [PATCH] " Thomas Sailer
-- strict thread matches above, loose matches on Subject: below --
2002-06-22 21:56 Adam J. Richter
2002-06-24 12:13 ` Henning Makholm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yahadpnifqb.fsf@pc-043.diku.dk \
--to=henning@makholm.net \
--cc=adam@yggdrasil.com \
--cc=bug-make@gnu.org \
--cc=linux-hams@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sailer@ife.ee.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox