From bdb59b84c5f2cb936bde02224e928407e598f3b6 Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Sun, 26 Nov 2017 18:15:37 +0100 Subject: docs: ref_manual: macros: document `get` macro --- doc/ref_manual.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/ref_manual.rst b/doc/ref_manual.rst index 25a69a173..27c1d348f 100644 --- a/doc/ref_manual.rst +++ b/doc/ref_manual.rst @@ -510,6 +510,24 @@ Usage: Removes the given directory ```` +Get Stage Macros +~~~~~~~~~~~~~~~~ + +Macros for the *get* stage: + +.. _get: + +get +~~~ + +Usage: + +.. code-block:: make + $(call get, ) + +Downloads a tarball from ``_URL`` to the path ``_SOURCE``. +The URL parameter can specify multiple URLs separated by whitespace, +which can be used to specify mirror URLs. Target-Install Macros ~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.2.3