view update-subdirs @ 28585:844bad68a120

New variable. (INTERVAL_SRC): Convert to make variable. (INTERVAL_OBJ, MKTIME_OBJ, FLOAT_SUPPORT, FACE_SUPPORT) (HAVE_X_WINDOWS, OBJECTS_SYSTEM): Remove. (obj): Substitute INTERVAL_OBJ, add MKTIME_OBJ, GETLOADAVG_OBJ and @LIBOBJS@. (SOME_MACHINE_OBJECTS): Remove interval stuff. (lisp): Substitute FACE_SUPPORT, FLOAT_SUP. (shortlisp): Add facemenu, float-sup, frame. (SOME_MACHINE_LISP): Remove them from here. (LIBES): Change unused LDLIBS to autoconf LIBS.
author Dave Love <fx@gnu.org>
date Fri, 14 Apr 2000 12:34:44 +0000
parents 3ede6c50d7f5
children f440b9766968
line wrap: on
line source

#!/bin/sh
# Write into $1/subdirs.el a list of subdirs of directory $1.
cd $1
for file in *; do
    case $file in
	*.elc | *.el | term | RCS | CVS | Old | . | .. | =* | *~ | *.orig | *.rej)
	  ;;	
	*)
	    if [ -d $file ]; then
	      subdirs="\"$file\" $subdirs"
	    fi
	  ;;
    esac
done

if [ "x$subdirs" = x ]; then
  rm -f subdirs.el
else
  echo ";; In load-path, after this directory should come
;; certain of its subdirectories.  Here we specify them." > subdirs.el

  echo "(normal-top-level-add-to-load-path '($subdirs))" >> subdirs.el
fi