[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is this a typo on your manual?

From: Shailan Patel
Subject: Re: is this a typo on your manual?
Date: Wed, 15 Feb 2023 21:34:27 +0000

Hello im referring to this chapter https://www.gnu.org/software/make/manual/make.html#Secondary-Expansion 

and im referring to this example here:

The following example will help illustrate these behaviors:


foo: foo.1 bar.1 $$< $$^ $$+    # line #1

foo: foo.2 bar.2 $$< $$^ $$+    # line #2

foo: foo.3 bar.3 $$< $$^ $$+    # line #3

In the first prerequisite list, all three variables ($$<$$^, and $$+) expand to the empty string. In the second, they will have values foo.1foo.1 bar.1, and foo.1 bar.1 respectively. In the third they will have values foo.1foo.1 bar.1 foo.2 bar.2, and foo.1 bar.1 foo.2 bar.2 foo.1 foo.1 bar.1 foo.1 bar.1 respectively.

please could you tell me how foo.1 bar.1 foo.2 bar.2 foo.1 foo.1 bar.1 foo.1 bar.1 is derived?

On Wed, Feb 15, 2023 at 6:06 PM Paul Smith <psmith@gnu.org> wrote:
On Wed, 2023-02-15 at 05:10 +0000, Shailan Patel wrote:
> do you know whether the third prerequisite list here
> https://prnt.sc/_l1Jg2gkV4v_  expands to "foo.1 bar.1 foo.2 bar.2
> foo.1 foo.1 bar.1 foo.1 bar.1" https://pastebin.com/DFr9Athi ?


Please choose just one mailing list to ask on since most people read
both.  I chose to keep bug-make in this reply.

Also please cut and paste the text you're talking about, or at least
include a reference to where in the manual you're looking, rather than
using links to external sites containing screenshots.  Some people
can't or won't follow these links, others can't view screenshots, and
at some point those external sites will go away and those links will
stop working, then we can't understand the question when we view it in
the email list archives.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]