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
commit73494596154e5e2429ec1a1d76ee3c258cf89f96 (patch)
tree73154b4b4be6cd31ba0682d3ab7882bbf95e370b /make-dist
parent5abdc91582d5a2965ea1de4988f32cbedd5f2edb (diff)
downloademacs-73494596154e5e2429ec1a1d76ee3c258cf89f96.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}'"