diff options
author | Loïc Hoguin <[email protected]> | 2018-11-29 15:34:27 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-29 15:34:27 +0100 |
commit | 305080b98a4312591efe03872be99951ac09da6e (patch) | |
tree | 62769599e56c98408dc601b77c7e096466df1669 /doc/src/guide | |
parent | 2d35cb644d973f81af09c6f8d342e4838a548f7b (diff) | |
download | erlang.mk-305080b98a4312591efe03872be99951ac09da6e.tar.gz erlang.mk-305080b98a4312591efe03872be99951ac09da6e.tar.bz2 erlang.mk-305080b98a4312591efe03872be99951ac09da6e.zip |
Add the target help-plugins to document external plugins
It's better than extending help:: because this gets printed
at the end instead of before Erlang.mk's own help.
Diffstat (limited to 'doc/src/guide')
-rw-r--r-- | doc/src/guide/external_plugins.asciidoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/guide/external_plugins.asciidoc b/doc/src/guide/external_plugins.asciidoc index 68deb82..5f165f5 100644 --- a/doc/src/guide/external_plugins.asciidoc +++ b/doc/src/guide/external_plugins.asciidoc @@ -76,6 +76,15 @@ This allows users to not only be able to select individual plugins, but also select all plugins from the dependency in one go if they wish to do so. +Plugins can include some help text by extending the target +`help-plugins`: + +[source,make] +---- +help-plugins:: + $(verbose) printf "%s\n" "" "Run benchmark: $(MAKE) perfs" +---- + === Early-stage plugins Plugins declared in `DEP_PLUGINS` are loaded near the end of Erlang.mk. |