/[gentoo-x86]/eclass/elisp.eclass
Gentoo

Diff of /eclass/elisp.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.38 Revision 1.39
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.38 2009/03/12 12:08:47 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.39 2009/03/26 14:14:22 ulm Exp $
4# 4#
5# Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org> 5# Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org>
6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> 6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
7# Copyright 2007-2009 Christian Faulhammer <fauli@gentoo.org> 7# Copyright 2007-2009 Christian Faulhammer <fauli@gentoo.org>
8# Copyright 2007-2009 Ulrich Müller <ulm@gentoo.org> 8# Copyright 2007-2009 Ulrich Müller <ulm@gentoo.org>
67} 67}
68 68
69elisp_src_unpack() { 69elisp_src_unpack() {
70 [ -n "${A}" ] && unpack ${A} 70 [ -n "${A}" ] && unpack ${A}
71 if [ -f ${P}.el ]; then 71 if [ -f ${P}.el ]; then
72 # the "simple elisp" case with a single *.el file in WORKDIR
72 mv ${P}.el ${PN}.el || die 73 mv ${P}.el ${PN}.el || die
74 [ -d "${S}" ] || S=${WORKDIR}
73 fi 75 fi
74} 76}
75 77
76elisp_src_compile() { 78elisp_src_compile() {
77 elisp-compile *.el || die 79 elisp-compile *.el || die

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

  ViewVC Help
Powered by ViewVC 1.1.20