diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-02-22 12:42:11 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-02-22 12:42:11 +0100 |
commit | 398c5eae70a6cede9316f8d4fcdb49b28392602f (patch) | |
tree | 32ae5a69788cb95f6f059116ab32f5a2224f15b5 /eclass/elisp.eclass | |
parent | app-emacs/ebuild-mode: Autoload devbook-mode in site-init file. (diff) | |
download | emacs-398c5eae70a6cede9316f8d4fcdb49b28392602f.tar.gz emacs-398c5eae70a6cede9316f8d4fcdb49b28392602f.tar.bz2 emacs-398c5eae70a6cede9316f8d4fcdb49b28392602f.zip |
elisp*.eclass: Sync from gentoo repo.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/elisp.eclass')
-rw-r--r-- | eclass/elisp.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass index a411f60..7876928 100644 --- a/eclass/elisp.eclass +++ b/eclass/elisp.eclass @@ -1,4 +1,4 @@ -# Copyright 2002-2019 Gentoo Authors +# Copyright 2002-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: elisp.eclass @@ -173,7 +173,7 @@ elisp_src_install() { # install documentation only when explicitly requested case ${EAPI} in 4|5) [[ -n ${DOCS} ]] && dodoc ${DOCS} ;; - *) declare -p DOCS &>/dev/null && einstalldocs ;; + *) [[ $(declare -p DOCS 2>/dev/null) == *=* ]] && einstalldocs ;; esac if declare -f readme.gentoo_create_doc >/dev/null; then readme.gentoo_create_doc |