From 40d24fb8377f7caec17f249ea8b8fedd8810a0f5 Mon Sep 17 00:00:00 2001 From: merakor Date: Sat, 3 Apr 2021 13:28:42 +0000 Subject: docs: update FossilOrigin-Name: 37589ee7a72fdf8059ee4c529ada5e10b6956896eb062e006bac20efe40993eb --- docs/cpt.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/cpt.texi') 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()} -- cgit v1.2.3