diff 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
line wrap: on
line diff
--- a/make-dist	Sun Jun 07 23:07:55 1998 +0000
+++ b/make-dist	Sun Jun 07 23:30:27 1998 +0000
@@ -228,7 +228,16 @@
 
 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}'"