aboutsummaryrefslogtreecommitdiff
path: root/docs/cpt.texi
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cpt.texi')
-rw-r--r--docs/cpt.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/cpt.texi b/docs/cpt.texi
index 7b04cbb..a25b622 100644
--- a/docs/cpt.texi
+++ b/docs/cpt.texi
@@ -130,6 +130,7 @@ Package Functions
* @samp{pkg_build()}::
* @samp{pkg_depends()}::
+* @samp{pkg_order()}::
* @samp{pkg_owner()}:: Check which package owns the given file
* @samp{pkg_isbuilt()}:: Check whether the given package is built
* @samp{pkg_lint()}:: Check whether a package directory fits the standards
@@ -1118,6 +1119,7 @@ interact with packages.
@menu
* @samp{pkg_build()}::
* @samp{pkg_depends()}::
+* @samp{pkg_order()}::
* @samp{pkg_owner()}:: Check which package owns the given file
* @samp{pkg_isbuilt()}:: Check whether the given package is built
* @samp{pkg_lint()}:: Check whether a package directory fits the standards
@@ -1146,6 +1148,16 @@ pkg_build cpt
@node @samp{pkg_depends()}
@subsection @samp{pkg_depends()}
+This function calculates the dependencies for the requested package, returning
+the variable @code{$deps}. This variable can then be passed to @ref{@samp{pkg_order()}, , pkg@math{_order}()} in order
+to generate an ordered list for building packages.
+
+@node @samp{pkg_order()}
+@subsection @samp{pkg_order()}
+
+This function receives package names and returns @code{$order} and @code{$redro} variables
+that can be used for building and removing packages.
+
@node @samp{pkg_owner()}
@subsection @samp{pkg_owner()}