waf-utils.eclass: Support --docdir and --htmldir
authorChris Mayo <aklhfex@gmail.com>
Tue, 24 Mar 2020 19:49:57 +0000 (19:49 +0000)
committerMikle Kolyada <zlogene@gentoo.org>
Wed, 1 Apr 2020 10:34:10 +0000 (13:34 +0300)
commite38913efbae82f8888a6232162b775f744da2f72
tree23e0fe52618004d4d8d6c047d1e05bab697f040f
parent32ebe0cfa35562636183e0924720e1dab271e0ad
waf-utils.eclass: Support --docdir and --htmldir

waf can optionally set the standard GNU directories [1].
Based on the code for econf in Portage's phase-helpers.sh.

[1] https://waf.io/apidocs/tools/gnu_dirs.html

Closes: https://bugs.gentoo.org/711612
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
eclass/waf-utils.eclass