/[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.1 Revision 1.2
1# Copyright 1999-2003 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-common.eclass,v 1.1 2003/09/21 01:40:41 mkennedy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.2 2003/10/06 06:38:33 mkennedy Exp $
4# 4#
5# Author Matthew Kennedy <mkennedy@gentoo.org> 5# Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org>
6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
6# 7#
7# This is not an eclass, but it does provide emacs-related 8# This is not an eclass, but it does provide emacs-related
8# installation utilities. 9# installation utilities.
9 10
10ECLASS=elisp-common 11ECLASS=elisp-common
11INHERITED="$INHERITED $ECLASS" 12INHERITED="$INHERITED $ECLASS"
12 13
13SITELISP=/usr/share/emacs/site-lisp 14SITELISP=/usr/share/emacs/site-lisp
15
16elisp-compile() {
17 /usr/bin/emacs --batch -f batch-byte-compile --no-site-file --no-init-file $*
18}
14 19
15elisp-install() { 20elisp-install() {
16 local subdir=$1 21 local subdir=$1
17 dodir ${SITELISP}/${subdir} 22 dodir ${SITELISP}/${subdir}
18 insinto ${SITELISP}/${subdir} 23 insinto ${SITELISP}/${subdir}
52# Local Variables: *** 57# Local Variables: ***
53# mode: shell-script *** 58# mode: shell-script ***
54# tab-width: 4 *** 59# tab-width: 4 ***
55# indent-tabs-mode: t *** 60# indent-tabs-mode: t ***
56# End: *** 61# End: ***
62

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

  ViewVC Help
Powered by ViewVC 1.1.20