| #!/bin/sh |
#!/bin/sh |
| # Copyright (C) 1995 Free Software Foundation, Inc. |
# Copyright 1995 Free Software Foundation, Inc. |
| # François Pinard <pinard@iro.umontreal.ca>, 1995. |
# François Pinard <pinard@iro.umontreal.ca>, 1995. |
| # |
# |
| # This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
| # along with this program; if not, write to the Free Software |
# along with this program; if not, write to the Free Software |
| # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| |
|
| |
# As a special exception to the GNU General Public License, if you |
| |
# distribute this file as part of a program that contains a |
| |
# configuration script generated by Autoconf, you may include it under |
| |
# the same distribution terms that you use for the rest of that program. |
| |
|
| # This script byte-compiles all `.el' files which are part of its |
# This script byte-compiles all `.el' files which are part of its |
| # arguments, using GNU Emacs, and put the resulting `.elc' files into |
# arguments, using GNU Emacs, and put the resulting `.elc' files into |
| # the current directory, so disregarding the original directories used |
# the current directory, so disregarding the original directories used |
| cd $tempdir |
cd $tempdir |
| |
|
| echo "(setq load-path (cons nil load-path))" > script |
echo "(setq load-path (cons nil load-path))" > script |
| $EMACS -q -batch -l script -f batch-byte-compile *.el |
$EMACS -batch -q -l script -f batch-byte-compile *.el |
| mv *.elc .. |
mv *.elc .. |
| |
|
| cd .. |
cd .. |