diff options
-rw-r--r-- | app-doc/gnucash-docs/gnucash-docs-4.12.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app-doc/gnucash-docs/gnucash-docs-4.12.ebuild b/app-doc/gnucash-docs/gnucash-docs-4.12.ebuild index 6e076f330131..0156cc56c7b2 100644 --- a/app-doc/gnucash-docs/gnucash-docs-4.12.ebuild +++ b/app-doc/gnucash-docs/gnucash-docs-4.12.ebuild @@ -25,23 +25,29 @@ BDEPEND=" dev-libs/libxslt " +src_compile() { + cmake_src_compile -j1 +} + src_install() { local doc_type my_lang for doc_type in manual guide; do for my_lang in C "${L10N}"; do + [[ -z ${my_lang} ]] && continue + case "${my_lang}" in # Both help and guides translated C|de|it|pt) ;; ja|ru) # Only guides translated - if [[ "${doc_type}" = "manual" ]] ; then + if [[ "${doc_type}" == "manual" ]] ; then elog "Help documentation hasn't been translated for ${my_lang}" elog "Will do English instead." continue fi ;; *) - die "Invalid locale: $my_lang" + die "Invalid locale: ${my_lang}" ;; esac |