@@ -, +, @@ dodir/keepdir usage. --- function-reference/install-functions/text.xml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) --- a/function-reference/install-functions/text.xml +++ a/function-reference/install-functions/text.xml @@ -117,7 +117,9 @@ the first is the source name, the second the name to use when installing. dodir - Install a directory + Install a directory that will be non-empty when the package is + merged. For directories that will be empty, please use + keepdir instead. @@ -288,9 +290,13 @@ the first is the source name, the second the name to use when installing. keepdir - Create a directory which will be preserved by the package - manager (This is typically accomplished by inserting an empty - .keep_${CATEGORY}_${PN}-${SLOT%/*} file in the directory) + Install a directory that will be empty when the package is + merged. This is like dodir, but for empty directories + instead. As of EAPI 7, the + handling of empty directories is undefined by the package + manager specification, and the keepdir function + exists to ensure that the (otherwise empty) directory is tracked. --