From: Ian Jackson Date: Sat, 28 Dec 2019 18:55:45 +0000 (+0000) Subject: README: deinent the macro explaation X-Git-Tag: v0.6.0~249^2~20 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=f7fa99f4c599d405287c1af0111996c0a9d583eb;p=secnet.git README: deinent the macro explaation Signed-off-by: Ian Jackson --- 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: - - - - - - - - - - -