From 29f678881018103cc2aec85bdb51ea5830cf2e37 Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Fri, 9 Dec 2016 23:15:47 +0000 Subject: Allow relative file names in .include lines (Closes 1971) --- doc/doc-docbook/spec.xfpt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 835893d1b..02ffec9d1 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -4937,6 +4937,11 @@ Include processing happens after macro processing (see below). Its effect is to process the lines of the included file as if they occurred inline where the inclusion appears. +Relative names are allowed with &`.include`&, and are resolved +relative to the directory of the including file. For security reasons +this is not allowed with &`.include_if_exists`&. To avoid confusion, it +is strongly recommended to use absolute names only. + .section "Macros in the configuration file" "SECTmacrodefs" -- cgit v1.2.3