aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake-dist3
1 files changed, 2 insertions, 1 deletions
diff --git a/make-dist b/make-dist
index 67aaffe9d4d..ebcd4baff7b 100755
--- a/make-dist
+++ b/make-dist
@@ -157,13 +157,14 @@ rm -f /tmp/el /tmp/elc
157(cd lisp; ls -1 [a-z]*.el) > /tmp/el 157(cd lisp; ls -1 [a-z]*.el) > /tmp/el
158(cd lisp; ls -1 [a-z]*.elc) | sed 's/\.elc$/.el/' > /tmp/elc 158(cd lisp; ls -1 [a-z]*.elc) | sed 's/\.elc$/.el/' > /tmp/elc
159losers="`comm -23 /tmp/el /tmp/elc`" 159losers="`comm -23 /tmp/el /tmp/elc`"
160bogosities=
160for file in $losers; do 161for file in $losers; do
161 if ! grep -q "dontcompilefiles:.* $file\($\| \)" lisp/Makefile; then 162 if ! grep -q "dontcompilefiles:.* $file\($\| \)" lisp/Makefile; then
162 bogosities="$file $bogosities" 163 bogosities="$file $bogosities"
163 fi 164 fi
164done 165done
165if [ "${bogosities}" != "" ]; then 166if [ "${bogosities}" != "" ]; then
166 echo "The following .elc files have no corresponding .el files:" 167 echo "The following .el files have no corresponding .elc files:"
167 echo "${bogosities}" 168 echo "${bogosities}"
168fi 169fi
169rm -f /tmp/el /tmp/elc 170rm -f /tmp/el /tmp/elc