From db87820b075427ceb8629c378b4ba860a2f2bbb8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 13 Feb 2014 17:23:33 +0100 Subject: [PATCH] doc/manual.txt: clarify pkg build phases, document XBPS_BUILDDIR. --- doc/manual.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/manual.txt b/doc/manual.txt index e870935022b..b006216ce3b 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -119,12 +119,13 @@ function, which is the directory to be used to compile the `source package`. *build*:: This phase compiles/prepares the `source files` via `make` or any other compatible method. -*install-destdir*:: +*install*:: This phase installs the `package files` into a `fake destdir`, via `make install` or any other compatible method. -*build-pkg*:: - This phase builds the `binary packages` with files stored in the `package destdir`. +*package*:: + This phase builds the `binary packages` with files stored in the `package destdir` +and registers them into the local repository. `xbps-src` supports running just the specified phase, and if it ran successfully, the phase will be skipped later (unless its work directory @@ -188,6 +189,11 @@ rather than additional binary package names. Full path to the fake destdir used by the `pkg_install()` function in `subpackages`, set to `${XBPS_MASTERDIR}/destdir/${pkgname}-${version}`. +*XBPS_BUILDDIR*:: + Directory to store the `source code` of the source package being processed. + Usually this follows the `${pkgname}-${version}` naming. The `wrksrc` + variable has the full path to the package source code directory. + *XBPS_MACHINE*:: The machine architecture as returned by `uname -m`.