From bad5c3cf7cd71e04e5a1f99ff926ba641e0790ca Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Fri, 19 Mar 2021 15:39:20 +0100 Subject: [PATCH] Document relative path of $INCLUDE Add to the ARM from where relative paths are searched. --- doc/arm/reference.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/arm/reference.rst b/doc/arm/reference.rst index e51f320df4..edd2d7337f 100644 --- a/doc/arm/reference.rst +++ b/doc/arm/reference.rst @@ -6294,9 +6294,10 @@ The ``$INCLUDE`` Directive Syntax: ``$INCLUDE`` filename [origin] [comment] This reads and processes the file ``filename`` as if it were included in the -file at this point. If ``origin`` is specified, the file is processed -with ``$ORIGIN`` set to that value; otherwise, the current ``$ORIGIN`` is -used. +file at this point. The ``filename`` can be an absolute path, or a relative +path. In the latter case it is read from ``named``'s working directory. If +``origin`` is specified, the file is processed with ``$ORIGIN`` set to that +value; otherwise, the current ``$ORIGIN`` is used. The origin and the current domain name revert to the values they had prior to the ``$INCLUDE`` once the file has been read.