| 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-common.eclass,v 1.62 2009/10/08 10:50:35 ulm Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.63 2009/11/22 12:06:43 ulm Exp $ |
| 4 | # |
4 | # |
| 5 | # Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org> |
5 | # Copyright 2002-2004 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 2004-2005 Mamoru Komachi <usata@gentoo.org> |
7 | # Copyright 2004-2005 Mamoru Komachi <usata@gentoo.org> |
| 8 | # Copyright 2007-2008 Christian Faulhammer <fauli@gentoo.org> |
8 | # Copyright 2007-2008 Christian Faulhammer <fauli@gentoo.org> |
| … | |
… | |
| 353 | # A case is a remerge where we have doubled output. |
353 | # A case is a remerge where we have doubled output. |
| 354 | echo " no changes." |
354 | echo " no changes." |
| 355 | else |
355 | else |
| 356 | mv "${T}"/site-gentoo.el "${ROOT}${SITELISP}"/site-gentoo.el |
356 | mv "${T}"/site-gentoo.el "${ROOT}${SITELISP}"/site-gentoo.el |
| 357 | echo |
357 | echo |
|
|
358 | case ${#sflist[@]} in |
|
|
359 | 0) ewarn "... Huh? No site initialisation files found." ;; |
|
|
360 | 1) einfo "... ${#sflist[@]} site initialisation file included." ;; |
| 358 | einfo "... ${#sflist[@]} site initialisation file(s) included." |
361 | *) einfo "... ${#sflist[@]} site initialisation files included." ;; |
|
|
362 | esac |
| 359 | fi |
363 | fi |
| 360 | |
364 | |
| 361 | if [ "${obsolete}" ]; then |
365 | if [ "${obsolete}" ]; then |
| 362 | echo |
366 | echo |
| 363 | while read line; do ewarn "${line}"; done <<-EOF |
367 | while read line; do ewarn "${line}"; done <<-EOF |