From: Richard M. Stallman Date: Sun, 7 Jun 1998 23:30:27 +0000 (+0000) Subject: (MANIFEST): Include most subdirs, but exclude subdirs.el X-Git-Tag: emacs-20.3~690 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=73494596154e5e2429ec1a1d76ee3c258cf89f96;p=emacs.git (MANIFEST): Include most subdirs, but exclude subdirs.el and default.el. Sort the results. --- diff --git a/make-dist b/make-dist index 8182f70106b..e9390413bf6 100755 --- a/make-dist +++ b/make-dist @@ -228,7 +228,16 @@ fi echo "Making lisp/MANIFEST" -(cd lisp; head -1 [!=]*.el | grep '^;' | sed -e 's/;;; //' > MANIFEST) +(cd lisp; + files=`echo [!=]*.el | sed -e 's/ subdirs.el / /' -e 's/ default.el / /'` + for dir in [!=]*; do + if [ -d $dir ] && [ $dir != term ] && [ $dir != RCS ]; then + echo $dir + thisdir=`echo $dir/[!=]*.el | sed -e 's/ subdirs.el / /'` + files="$files $thisdir" + fi + done + head -1 $files | grep '^;' | sed -e 's/;;; //' | sort > MANIFEST) echo "Creating staging directory: \`${tempparent}'"