diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/guide/external_plugins.asciidoc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/src/guide/external_plugins.asciidoc b/doc/src/guide/external_plugins.asciidoc index e5fdbd7..027b1b9 100644 --- a/doc/src/guide/external_plugins.asciidoc +++ b/doc/src/guide/external_plugins.asciidoc @@ -65,8 +65,11 @@ For eaxmple, if you have two plugins 'mk/dist.mk' and file: [source,make] -include mk/dist.mk -include mk/templates.mk +THIS := $(dir $(realpath $(lastword $(MAKEFILE_LIST)))) +include $(THIS)/mk/dist.mk +include $(THIS)/mk/templates.mk + +The `THIS` variable is required to relatively include files. This allows users to not only be able to select individual plugins, but also select all plugins from the dependency |