summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-05-31 15:17:38 -0700
committerMatt Turner <mattst88@gentoo.org>2021-06-03 18:13:40 -0700
commit804563751de46ed0df401b298379b026f3092bb9 (patch)
tree9bad1ac66e99a41016b59dc0192fe4b75007d394 /eclass
parentgames-arcade/excido: fix direct c++, add desktop file (diff)
downloadgentoo-804563751de46ed0df401b298379b026f3092bb9.tar.gz
gentoo-804563751de46ed0df401b298379b026f3092bb9.tar.bz2
gentoo-804563751de46ed0df401b298379b026f3092bb9.zip
meson.eclass: Run einstalldocs from ${S}
This is how cmake.eclass works, and it will allow easy use by meson-multilib.eclass. Closes: https://github.com/gentoo/gentoo/pull/20986 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/meson.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 0acc490452f2..c9a5e0b5956d 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -420,7 +420,10 @@ meson_src_install() {
debug-print-function ${FUNCNAME} "$@"
DESTDIR="${D}" eninja -C "${BUILD_DIR}" install "$@"
+
+ pushd "${S}" > /dev/null || die
einstalldocs
+ popd > /dev/null || die
}
fi