From 9280923e03ea7603e19fabed95d600bcc928a1cf Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 14 Nov 2019 12:36:23 +0000 Subject: [PATCH] docs: Summarise directory reference syntaxes This reveals it to be a bit of a mess. Signed-off-by: Ian Jackson --- README | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README b/README index 1111dcb..5897e30 100644 --- a/README +++ b/README @@ -138,6 +138,19 @@ If you `include subdirmk/regen.mk', dependency management and automatic regeneration for all of this template substitution, and for config.status etc. is done for you. +Summary of directory reference syntaxes +--------------------------------------- + + In source tree In build tree + Relative Absolute Relative Absolute + + &file $(abs)/&file + This directory &^/file &~/file &/file $(abs)/&/file + & ^ f g h & ~ f g h & f g h + + Top level $(ts)/file $(ats)/file file $(abs)/file + f g h + Substitution syntax ------------------- -- 2.30.2