summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-06-07 23:30:27 +0000
committerRichard M. Stallman <rms@gnu.org>1998-06-07 23:30:27 +0000
commitc8868f869d39ab2d9cb0fa440b31ad39aa7219d0 (patch)
tree5057552ea72815287b0491b9f8ef4c1c953fa563 /make-dist
parent1b9c70aa95b48e0c823520393c249b88333ec25a (diff)
downloademacs-c8868f869d39ab2d9cb0fa440b31ad39aa7219d0.tar.gz
(MANIFEST): Include most subdirs, but exclude subdirs.el
and default.el. Sort the results.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist11
1 files changed, 10 insertions, 1 deletions
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}'"