From cedd72596f619a76948bf8b6ea2435927bad6cee Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Wed, 10 Jul 2019 13:06:16 -0400 Subject: [PATCH] packages.md: document depends build targets Summary: Introduced in D5608. Backport of core [[https://github.com/bitcoin/bitcoin/pull/16691 | PR16691]]. Only commit 2483266 (https://github.com/bitcoin/bitcoin/pull/16691/commits/2483266c591f7b2e62df68ee2d13740a706415ec) is applicable for us, since the first one is autotools documentation while we recommand cmake. Test Plan: Read the doc. Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D5634 --- depends/packages.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/depends/packages.md b/depends/packages.md index d71902725e..96093c70da 100644 --- a/depends/packages.md +++ b/depends/packages.md @@ -181,3 +181,19 @@ For us, it's much easier to just link a static `libsecondary` into a shared static or dynamic `libsecondary`, that's not our concern. With a static `libsecondary`, when we need to link `libprimary` into our executable, there's no dependency chain to worry about as `libprimary` has all the symbols. + +## Build targets: + +To build an individual package (useful for debugging), the following build +targets are available. + + make ${package} + make ${package}_fetched + make ${package}_extracted + make ${package}_preprocessed + make ${package}_configured + make ${package}_built + make ${package}_staged + make ${package}_postprocessed + make ${package}_cached + make ${package}_cached_checksum