0
|
1 #!/bin/sh
|
70
|
2 ### update-autoloads.sh --- update loaddefs.el as necessary
|
0
|
3
|
|
4 set -eu
|
|
5
|
|
6 # This means we're running in a Sun workspace
|
70
|
7 test -d ../era-specific && cd ../editor
|
0
|
8
|
|
9 # get to the right directory
|
70
|
10 test ! -d ./lisp -a -d ../lisp && cd ..
|
|
11 if test ! -d ./lisp ; then
|
|
12 echo $0: neither ./lisp/ nor ../lisp/ exist
|
|
13 exit 1
|
0
|
14 fi
|
|
15
|
70
|
16 EMACS="./src/xemacs"
|
0
|
17 echo " (using $EMACS)"
|
|
18
|
|
19 export EMACS
|
|
20
|
|
21 REAL=`cd \`dirname $EMACS\` ; pwd | sed 's|^/tmp_mnt||'`/`basename $EMACS`
|
|
22
|
|
23 echo "Recompiling in `pwd|sed 's|^/tmp_mnt||'`"
|
|
24 echo " with $REAL..."
|
|
25
|
70
|
26 $EMACS -batch -q -f batch-update-autoloads \
|
|
27 `ls lisp | egrep -v \
|
74
|
28 "ChangeLog|CVS|COPYING|README|SCCS|egg|eterm|its|mule|paths.el|quail|version.el|vms" \
|
70
|
29 | xargs -i echo lisp/\{\}`
|