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

Diff of /eclass/elisp.eclass

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

Revision 1.1 Revision 1.4
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
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.4 2003/02/16 04:26:21 vapier Exp $
4#
3# Author Matthew Kennedy <mkennedy@gentoo.org> 5# Author Matthew Kennedy <mkennedy@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.1 2002/10/29 04:40:18 mkennedy Exp $ 6#
5
6# This eclass sets the site-lisp directory for emacs-related packages. 7# This eclass sets the site-lisp directory for emacs-related packages.
7 8
8ECLASS=elisp 9ECLASS=elisp
9INHERITED="$INHERITED $ECLASS" 10INHERITED="$INHERITED $ECLASS"
10 11
34 cat <<EOF >${SITELISP}/site-start.el 35 cat <<EOF >${SITELISP}/site-start.el
35;;; DO NOT EDIT THIS FILE -- IT IS GENERATED AUTOMATICALLY BY PORTAGE 36;;; DO NOT EDIT THIS FILE -- IT IS GENERATED AUTOMATICALLY BY PORTAGE
36;;; ----------------------------------------------------------------- 37;;; -----------------------------------------------------------------
37 38
38EOF 39EOF
39 ls ${SITELISP}/[0-9][0-9]* |sort -n | \ 40 ls ${SITELISP}/[0-9][0-9]* |sort -n |grep -vE '~$' | \
40 while read sf 41 while read sf
41 do 42 do
42 einfo " Addding $sf..." 43 einfo " Adding $sf..."
43 # Great for debugging, too noisy and slow for users though 44 # Great for debugging, too noisy and slow for users though
44# echo "(message \"Loading $sf...\")" >>${SITELISP}/site-start.el 45# echo "(message \"Loading $sf...\")" >>${SITELISP}/site-start.el
45 cat $sf >>${SITELISP}/site-start.el 46 cat $sf >>${SITELISP}/site-start.el
46 done 47 done
47 einfo "" 48 einfo ""

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20