From f7fa99f4c599d405287c1af0111996c0a9d583eb Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 28 Dec 2019 18:55:45 +0000 Subject: [PATCH] README: deinent the macro explaation Signed-off-by: Ian Jackson --- README | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README b/README index f2a1294..238607b 100644 --- a/README +++ b/README @@ -218,14 +218,13 @@ STUFF $ THINGS .. STUFF $$ THINGS (matches { } pairs to find the end) content is $-doubled (unless it contains &$- to turn that off) - Together &:macro and &${...} provide a more reasonable macro - facility than raw make. They solve the problem that make - expansions cannot directly generate multiple rules, variable, - etc.; instead, `$(eval )' must be used, but that re-expands - the argument, meaning that all the literal text must be - $-doubled. This applies to the macro text and to the - arguments. Also `$(eval $(call ...))' is an unfortunate syntax. - Hence &:macro and &${...}. +Together &:macro and &${...} provide a more reasonable macro facility +than raw make. They solve the problem that make expansions cannot +directly generate multiple rules, variable, etc.; instead, `$(eval )' +must be used, but that re-expands the argument, meaning that all the +literal text must be $-doubled. This applies to the macro text and to +the arguments. Also `$(eval $(call ...))' is an unfortunate syntax. +Hence &:macro and &${...}. While dollar-doubling: - - - - - - - - - - - -- 2.30.2