diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-03-26 14:14:22 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-03-26 14:14:22 +0000 |
commit | 495d7360a996ad0c184e325f26fceb9cd0b38df5 (patch) | |
tree | 75d75ed7ed9924e45bcc8a871987236eee70dfd2 /eclass/elisp.eclass | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-495d7360a996ad0c184e325f26fceb9cd0b38df5.tar.gz gentoo-2-495d7360a996ad0c184e325f26fceb9cd0b38df5.tar.bz2 gentoo-2-495d7360a996ad0c184e325f26fceb9cd0b38df5.zip |
Partial sync from Emacs overlay.
elisp.class:
In the "simple elisp" case, explicitly assign S=${WORKDIR} in
elisp_src_unpack.
elisp-common.eclass:
Remove function elisp-comp; it is not used by anything in the tree.
Reindent documentation to 72 columns for better readability.
Diffstat (limited to 'eclass/elisp.eclass')
-rw-r--r-- | eclass/elisp.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass index 7d8c7ddd5990..0527be4523b3 100644 --- a/eclass/elisp.eclass +++ b/eclass/elisp.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.38 2009/03/12 12:08:47 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.39 2009/03/26 14:14:22 ulm Exp $ # # Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org> # Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> @@ -69,7 +69,9 @@ elisp_pkg_setup() { elisp_src_unpack() { [ -n "${A}" ] && unpack ${A} if [ -f ${P}.el ]; then + # the "simple elisp" case with a single *.el file in WORKDIR mv ${P}.el ${PN}.el || die + [ -d "${S}" ] || S=${WORKDIR} fi } |