From: Ian Jackson Date: Thu, 14 Nov 2019 12:36:23 +0000 (+0000) Subject: docs: Summarise directory reference syntaxes X-Git-Tag: subdirmk/0.1~23 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=subdirmk.git;a=commitdiff_plain;h=9280923e03ea7603e19fabed95d600bcc928a1cf docs: Summarise directory reference syntaxes This reveals it to be a bit of a mess. Signed-off-by: Ian Jackson --- 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 -------------------