/[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.55 Revision 1.56
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.55 2009/02/13 17:15:58 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.56 2009/03/12 12:08:47 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 <fauli@gentoo.org>
9# Copyright 2007-2009 Ulrich Müller <ulm@gentoo.org> 9# Copyright 2007-2009 Ulrich Müller <ulm@gentoo.org>
10# 10#
11# @ECLASS: elisp-common.eclass 11# @ECLASS: elisp-common.eclass
12# @MAINTAINER: 12# @MAINTAINER:
13# Feel free to contact the Emacs team through <emacs@gentoo.org> if you have 13# Feel free to contact the Emacs team through <emacs@gentoo.org> if you have
325 fi 325 fi
326 326
327 [ -e "${ROOT}${SITELISP}"/site-gentoo.el ] || firstrun=t 327 [ -e "${ROOT}${SITELISP}"/site-gentoo.el ] || firstrun=t
328 328
329 if [ "${firstrun}" ] && [ ! -e "${ROOT}${SITELISP}"/site-start.el ]; then 329 if [ "${firstrun}" ] && [ ! -e "${ROOT}${SITELISP}"/site-start.el ]; then
330 einfo "Creating default ${SITELISP}/site-start.el ..." 330 einfo "Creating default site-start.el ..."
331 cat <<-EOF >"${T}"/site-start.el 331 cat <<-EOF >"${T}"/site-start.el
332 ;;; site-start.el 332 ;;; site-start.el
333 333
334 ;;; Commentary: 334 ;;; Commentary:
335 ;; This default site startup file is installed by elisp-common.eclass. 335 ;; This default site startup file is installed by elisp-common.eclass.
342 342
343 ;;; site-start.el ends here 343 ;;; site-start.el ends here
344 EOF 344 EOF
345 fi 345 fi
346 346
347 einfon "Regenerating ${SITELISP}/site-gentoo.el ..." 347 einfon "Regenerating site-gentoo.el (${EBUILD_PHASE}) ..."
348 348
349 # remove any auxiliary file (from previous run) 349 # remove any auxiliary file (from previous run)
350 rm -f "${ROOT}${SITELISP}"/00site-gentoo.el 350 rm -f "${ROOT}${SITELISP}"/00site-gentoo.el
351 351
352 # set nullglob option, there may be a directory without matching files 352 # set nullglob option, there may be a directory without matching files

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

  ViewVC Help
Powered by ViewVC 1.1.20