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

Diff of /eclass/elisp-common.eclass

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

Revision 1.47 Revision 1.48
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.47 2008/09/24 09:47:04 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.48 2008/10/05 13:56:08 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 <opfer@gentoo.org> 8# Copyright 2007-2008 Christian Faulhammer <opfer@gentoo.org>
130# @ECLASS-VARIABLE: SITELISP 130# @ECLASS-VARIABLE: SITELISP
131# @DESCRIPTION: 131# @DESCRIPTION:
132# Directory where packages install Emacs Lisp files. 132# Directory where packages install Emacs Lisp files.
133SITELISP=/usr/share/emacs/site-lisp 133SITELISP=/usr/share/emacs/site-lisp
134 134
135# @ECLASS-VARIABLE: SITEETC
136# @DESCRIPTION:
135# Directory where packages install miscellaneous (not Lisp) files. 137# Directory where packages install miscellaneous (not Lisp) files.
136SITEETC=/usr/share/emacs/etc 138SITEETC=/usr/share/emacs/etc
137 139
138# @ECLASS-VARIABLE: SITEFILE 140# @ECLASS-VARIABLE: SITEFILE
139# @DESCRIPTION: 141# @DESCRIPTION:
303 eend ${ret} "doins failed" 305 eend ${ret} "doins failed"
304} 306}
305 307
306# @FUNCTION: elisp-site-regen 308# @FUNCTION: elisp-site-regen
307# @DESCRIPTION: 309# @DESCRIPTION:
308# Regenerate site-gentoo.el file. The old location for site initialisation 310# Regenerate the site-gentoo.el file, based on packages' site initialisation
309# files of packages was /usr/share/emacs/site-lisp/. In December 2007 this 311# files in the /usr/share/emacs/site-lisp/site-gentoo.d/ directory.
310# has been changed to /usr/share/emacs/site-lisp/site-gentoo.d/. Remerge of 312#
311# packages with Emacs support is enough, the old location is still supported 313# Note: Before December 2007, site initialisation files were installed in
312# when generating the start-up file. 314# /usr/share/emacs/site-lisp/. For backwards compatibility, this location is
315# still supported when generating site-gentoo.el.
313 316
314elisp-site-regen() { 317elisp-site-regen() {
315 local i sf line firstrun obsolete 318 local i sf line firstrun obsolete
316 local -a sflist 319 local -a sflist
317 # Work around Paludis borkage: variable T is empty in pkg_postrm 320 # Work around Paludis borkage: variable T is empty in pkg_postrm

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

  ViewVC Help
Powered by ViewVC 1.1.20