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
commit94577984ace061f1d46db8bd090b004fe4e01e9e (patch)
tree217d2636a3feec5ced156c04f00625c6ffb69802 /make-dist
parent82b3914e0daee18010977eeea7bf89fba922756d (diff)
downloademacs-94577984ace061f1d46db8bd090b004fe4e01e9e.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}"