comparison make-dist @ 22389:d929ae6f35d3

(MANIFEST): Include most subdirs, but exclude subdirs.el and default.el. Sort the results.
author Richard M. Stallman <rms@gnu.org>
date Sun, 07 Jun 1998 23:30:27 +0000
parents 8ff5c2a5ee26
children e270203c0c9f
comparison
equal deleted inserted replaced
22388:2d0bece94ee7 22389:d929ae6f35d3
226 $EMACS -batch -f batch-byte-recompile-directory lisp leim 226 $EMACS -batch -f batch-byte-recompile-directory lisp leim
227 fi 227 fi
228 228
229 echo "Making lisp/MANIFEST" 229 echo "Making lisp/MANIFEST"
230 230
231 (cd lisp; head -1 [!=]*.el | grep '^;' | sed -e 's/;;; //' > MANIFEST) 231 (cd lisp;
232 files=`echo [!=]*.el | sed -e 's/ subdirs.el / /' -e 's/ default.el / /'`
233 for dir in [!=]*; do
234 if [ -d $dir ] && [ $dir != term ] && [ $dir != RCS ]; then
235 echo $dir
236 thisdir=`echo $dir/[!=]*.el | sed -e 's/ subdirs.el / /'`
237 files="$files $thisdir"
238 fi
239 done
240 head -1 $files | grep '^;' | sed -e 's/;;; //' | sort > MANIFEST)
232 241
233 echo "Creating staging directory: \`${tempparent}'" 242 echo "Creating staging directory: \`${tempparent}'"
234 243
235 mkdir ${tempparent} 244 mkdir ${tempparent}
236 tempdir="${tempparent}/${emacsname}" 245 tempdir="${tempparent}/${emacsname}"