summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-26 22:19:04 +0000
committerJim Blandy <jimb@redhat.com>1993-05-26 22:19:04 +0000
commit9f7602fd7280438eaf9379b432ef044dd4209bf0 (patch)
tree7e027bc7ee4e228426917aa661c9adffc0c92e2b /make-dist
parentb1ee6b34ae061a486dd4c5552273e06ed033313e (diff)
downloademacs-9f7602fd7280438eaf9379b432ef044dd4209bf0.tar.gz
* make-dist: Check for .elc files with no corresponding .el file.
* make-dist: Check for .elc files with no corresponding .el file.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/make-dist b/make-dist
index ac2bd91b0f1..f0c8805bc83 100755
--- a/make-dist
+++ b/make-dist
@@ -87,6 +87,11 @@ them, and try again." >&2
exit 1
fi
+### Check for .elc files with no corresponding .el file.
+ls -1 lisp/*.el | sed 's/\.el$/.elc/' > /tmp/el
+ls -1 lisp/*.elc > /tmp/elc
+comm -13 /tmp/el /tmp/elc
+
echo "Creating staging directory: \`${tempparent}'"
mkdir ${tempparent}
emacsname="emacs-${version}${new_extension}"