summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/package.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/package.sh b/lib/package.sh
index 44fd858..c6979d7 100644
--- a/lib/package.sh
+++ b/lib/package.sh
@@ -205,6 +205,13 @@ ob_get_binary_parameter()
return 0
}
+## @brief Get the documentation-providing binary package
+## @details \fBob_get_doc_package\fP gets the name of the binary package that
+## will provide documentation files about the source package.
+## @return Returns 0 on success or 1 if no or multiple packages are found to
+## provide documentation files.
+## @stdout Prints the documentation-providing binary package name.
+## @pure yes This function has no side effects.
ob_get_doc_package()
{
_ob_package_do 'get_doc_package' || return ${?}