Mercurial > hg > xemacs-beta
comparison lib-src/update-autoloads.sh @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | 59463afc5666 |
children | 5a88923fcbfe |
comparison
equal
deleted
inserted
replaced
162:4de2936b4e77 | 163:0132846995bd |
---|---|
22 | 22 |
23 echo "Recompiling in `pwd|sed 's|^/tmp_mnt||'`" | 23 echo "Recompiling in `pwd|sed 's|^/tmp_mnt||'`" |
24 echo " with $REAL..." | 24 echo " with $REAL..." |
25 | 25 |
26 dirs= | 26 dirs= |
27 for dir in lisp/* ; do | 27 for dir in lisp/*; do |
28 if test -d $dir \ | 28 if test -d $dir \ |
29 -a $dir != lisp/CVS \ | 29 -a $dir != lisp/CVS \ |
30 -a $dir != lisp/SCCS \ | 30 -a $dir != lisp/SCCS \ |
31 -a $dir != lisp/egg \ | 31 -a $dir != lisp/egg \ |
32 -a $dir != lisp/its \ | 32 -a $dir != lisp/its \ |
33 -a $dir != lisp/mule \ | 33 -a $dir != lisp/mule \ |
34 -a $dir != lisp/quail; then | 34 -a $dir != lisp/language \ |
35 -a $dir != lisp/leim; then | |
35 dirs="$dirs $dir" | 36 dirs="$dirs $dir" |
36 fi | 37 fi |
37 done | 38 done |
38 cat > lisp/prim/auto-autoloads.el << EOF | 39 # cat > lisp/prim/auto-autoloads.el << EOF |
39 ;;; Do NOT edit this file! | 40 # ;;; Do NOT edit this file! |
40 ;;; It is automatically generated using "make autoloads" | 41 # ;;; It is automatically generated using "make autoloads" |
41 ;;; See update-autoloads.sh and autoload.el for more details. | 42 # ;;; See update-autoloads.sh and autoload.el for more details. |
42 | 43 # |
43 EOF | 44 # EOF |
44 set -x | 45 set -x |
45 $EMACS -batch -q -l autoload -f batch-update-autoloads $dirs | 46 for dir in $dirs; do |
47 $EMACS -batch -q -l autoload -f batch-update-directory $dir | |
48 done |