From c807880f7ac73f813b2660ea81a00f7712a4e793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 29 Aug 2016 12:39:49 +0200 Subject: Add old mailing list archives --- .../erlang.mk/1/guide/external_plugins/index.html | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (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 8b52c986..cdc8f70b 100644 --- a/docs/en/erlang.mk/1/guide/external_plugins/index.html +++ b/docs/en/erlang.mk/1/guide/external_plugins/index.html @@ -90,12 +90,7 @@ of dependencies.

For example, if you have cowboy in DEPS, add cowboy in DEP_PLUGINS also:

-
-
DEPS = cowboy
-DEP_PLUGINS = cowboy
+

This will load the file plugins.mk in the root folder of the Cowboy repository.

@@ -113,12 +108,7 @@ writing DEP_PLUGINS = cowboy/plugins.mk.

from Cowboy and no other, we would write the following in our Makefile:

-
-
DEPS = cowboy
-DEP_PLUGINS = cowboy/mk/dist.mk
+
@@ -135,13 +125,7 @@ individual plugins in plugins.mk.

mk/templates.mk, you could write the following plugins.mk file:

-
-
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 -- cgit v1.2.3