summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-28 21:22:40 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-28 21:23:30 +0100
commit5427734922c03f5b28cf432a9c33b4b3b54f824a (patch)
treeaa1a5238ab54aa1a71f87e85b2543047d9e50ddf /dev-libs
parentdev-python/numba: remove unused patch (diff)
downloadgentoo-5427734922c03f5b28cf432a9c33b4b3b54f824a.tar.gz
gentoo-5427734922c03f5b28cf432a9c33b4b3b54f824a.tar.bz2
gentoo-5427734922c03f5b28cf432a9c33b4b3b54f824a.zip
dev-libs/jsoncpp: Fix building docs with meson
Meson does not create the 'version' file expected by the doxygen build script. Create it ourselves. Closes: https://bugs.gentoo.org/703842 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild b/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild
index 311eab1e8127..3d6b686bd9c6 100644
--- a/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild
+++ b/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild
@@ -35,7 +35,7 @@ src_compile() {
meson_src_compile
if use doc; then
- cp "${BUILD_DIR}"/version . || die
+ echo "${PV}" > version || die
"${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die
HTML_DOCS=( dist/doxygen/jsoncpp*/. )
fi