/[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.86 Revision 1.87
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.86 2013/09/04 19:16:40 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.87 2013/11/04 21:36:36 ulm Exp $
4# 4#
5# @ECLASS: elisp-common.eclass 5# @ECLASS: elisp-common.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Gentoo Emacs team <emacs@gentoo.org> 7# Gentoo Emacs team <emacs@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
360 if [[ ! -d ${T} ]]; then 360 if [[ ! -d ${T} ]]; then
361 eerror "elisp-site-regen: Temporary directory ${T} does not exist" 361 eerror "elisp-site-regen: Temporary directory ${T} does not exist"
362 return 1 362 return 1
363 fi 363 fi
364 364
365 if [[ ${EBUILD_PHASE} = *rm && ! -e ${sitelisp}/site-gentoo.el ]]; then
366 ewarn "Refusing to create site-gentoo.el in ${EBUILD_PHASE} phase."
367 return 0
368 fi
369
365 ebegin "Regenerating site-gentoo.el for GNU Emacs (${EBUILD_PHASE})" 370 ebegin "Regenerating site-gentoo.el for GNU Emacs (${EBUILD_PHASE})"
366 371
367 for sf in "${sitelisp}"/[0-9][0-9]*-gentoo.el \ 372 for sf in "${sitelisp}"/[0-9][0-9]*-gentoo.el \
368 "${sitelisp}"/site-gentoo.d/[0-9][0-9]*.el 373 "${sitelisp}"/site-gentoo.d/[0-9][0-9]*.el
369 do 374 do

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

  ViewVC Help
Powered by ViewVC 1.1.20