From 41c769ab5c19da92ecba35d9accc4bc123029e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 23 May 2017 20:47:46 +0200 Subject: Remove the use of bootstrap-carousel The custom.js file was converted to not use jquery also. Once bootstrap is gone, we can remove jquery entirely. --- .../erlang.mk/1/guide/external_plugins/index.html | 42 +++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) (limited to 'docs/en/erlang.mk/1/guide/external_plugins') diff --git a/docs/en/erlang.mk/1/guide/external_plugins/index.html b/docs/en/erlang.mk/1/guide/external_plugins/index.html index c91f5198..e83b6a76 100644 --- a/docs/en/erlang.mk/1/guide/external_plugins/index.html +++ b/docs/en/erlang.mk/1/guide/external_plugins/index.html @@ -132,6 +132,47 @@ plugins, but also select all plugins from the dependency in one go if they wish to do so.

+
+

Early-stage plugins

+
+

Plugins declared in DEP_PLUGINS are loaded near the end of Erlang.mk. +That’s why you have access to all previously initialized variables. +However, if you want your plugin to add common dependencies to +your applications, a regular is loaded too late in the process. +You need to use "Early-stage plugins". They are declared using the +DEP_EARLY_PLUGINS variable instead. Plugins listed in this variable +are loaded near the beginning of Erlang.mk Otherwise, they work exactly +the same.

+

If you only give the name of a dependency, the default file loaded is +early-plugins.mk. You can specify a filename exactly like you would +have done it with regular plugins.

+
+
+
+
+
+
+
+

Loading plugins local to the application

+
+

If the Erlang.mk plugin lives in the same directory or repository as your +application or library, then you can load it exactly like an external +plugin: the dependency name is simply the name of your application or +library.

+

For example, the following Makefile loads a plugin in the mk +subdirectory:

+
+
+

This also works with early-stage plugins:

+
+
+

Like external plugins, if you do not specify the path to the plugin, it +defaults to plugins.mk or early-plugins.mk, located at the root of +your application:

+
+
+
+
@@ -211,7 +252,6 @@ in one go if they wish to do so.

- -- cgit v1.2.3