mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] doc: ref_make_macros: document the 'extract' macro
@ 2019-06-05 15:20 Roland Hieber
  2019-06-05 15:20 ` [ptxdist] [PATCH 2/2] doc: ref_make_macros: improve language, typos and markup Roland Hieber
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2019-06-05 15:20 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 doc/ref_make_macros.inc | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/doc/ref_make_macros.inc b/doc/ref_make_macros.inc
index 329f3821ce77..749cf31edf66 100644
--- a/doc/ref_make_macros.inc
+++ b/doc/ref_make_macros.inc
@@ -97,6 +97,21 @@ The same for all other macros. These are the default build commands for the
 corresponding stages. For more details see the documentation of the default
 stages below.
 
+extract
+~~~~~~~
+
+Usage:
+
+.. code-block:: make
+
+ $(call extract, <PKG>)
+
+Extract a source archive into a directory.
+The source archive to unpack is taken from the ``<PKG>_SOURCE`` variable,
+and the directory to unpack to is taken from the ``<PKG>_DIR`` variable.
+This macro doesn't do anything if ``<PKG>_URL`` points to a local directory
+instead of an archive or online URL.
+
 compile
 ~~~~~~~
 
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-05 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-05 15:20 [ptxdist] [PATCH 1/2] doc: ref_make_macros: document the 'extract' macro Roland Hieber
2019-06-05 15:20 ` [ptxdist] [PATCH 2/2] doc: ref_make_macros: improve language, typos and markup Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox