From 73494596154e5e2429ec1a1d76ee3c258cf89f96 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 7 Jun 1998 23:30:27 +0000 Subject: [PATCH] (MANIFEST): Include most subdirs, but exclude subdirs.el and default.el. Sort the results. --- make-dist | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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}'" -- 2.39.2