X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=README;h=7de4def345f95bdfa39f6da34992be894b22e11f;hb=963054a07f6670d984c3e69280bde4832ca837d6;hp=5e78187942da813ac76be9ff07b9c9cada4cd232;hpb=fd49f563108abb6cdb9806344be415b656208334;p=secnet.git diff --git a/README b/README index 5e78187..7de4def 100644 --- a/README +++ b/README @@ -93,8 +93,8 @@ zonk' in lib will fail. If you want to make a target exist everywhere, += it with nothing in Prefix.sd.mk or Suffix.sd.mk (see below). -Prefix.sd.mk, Suffix.sd.mk, inclusion -------------------------------------- +Prefix.sd.mk, Suffix.sd.mk, Final.sd.mk, inclusion +-------------------------------------------------- The files Prefix.sd.mk and Suffix.sd.mk in the toplevel of the source are automatically processed before and after each individual @@ -112,6 +112,9 @@ autogenerated `main.mk' which merely has some basic settings and includes. So if you want to get in early and set global variables, put them near the top of Subdir.sd.mk. +The file Final.sd.mk in the toplevel directory is processed and +included after all the other files. + subdirmk's filter script itself sets (only) these variables: top_srcdir abs_top_srcdir @@ -149,7 +152,7 @@ There are two kinds of template files. How to include `&:include foo.sd.mk' `include foo.mk' in all relevant .sd.mk in only one (but not needed for Subdir.sd.mk - Prefix, Suffix) + Prefix, Suffix, Final) If you `include subdirmk/regen.mk', dependency management and automatic regeneration for all of this template substitution, and for