aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLute Kamstra2005-04-13 09:33:35 +0000
committerLute Kamstra2005-04-13 09:33:35 +0000
commit33740d04224981ea5ae288ecb490af593db2eb04 (patch)
treed4867d64e48c4a072df55d8bdd9374ab97224e61
parenta2d66c78bb183476b4976e879857b011e155a2c1 (diff)
downloademacs-33740d04224981ea5ae288ecb490af593db2eb04.tar.gz
emacs-33740d04224981ea5ae288ecb490af593db2eb04.zip
Don't use DONTCOMPILE from lisp/Makefile.in; check for
"no-byte-compile: t" in the file instead.
-rwxr-xr-xmake-dist17
1 files changed, 7 insertions, 10 deletions
diff --git a/make-dist b/make-dist
index 8cfc41ccd25..a72f498ffef 100755
--- a/make-dist
+++ b/make-dist
@@ -6,7 +6,8 @@
6#### be distributed. This means that if you add a file with an odd name, 6#### be distributed. This means that if you add a file with an odd name,
7#### you should make sure that this script will include it. 7#### you should make sure that this script will include it.
8 8
9# Copyright (C) 1995, 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. 9# Copyright (C) 1995, 1997, 1998, 2000, 2001, 2002, 2005
10# Free Software Foundation, Inc.
10# 11#
11# This file is part of GNU Emacs. 12# This file is part of GNU Emacs.
12# 13#
@@ -195,21 +196,17 @@ then
195 rm -f /tmp/el /tmp/elc 196 rm -f /tmp/el /tmp/elc
196 197
197 ### Check for .el files with no corresponding .elc file. 198 ### Check for .el files with no corresponding .elc file.
198 (cd lisp; ls -1 [a-z]*.el [a-z]*/[a-z]*.el ; \ 199 ls -1 lisp/[a-z]*.el lisp/[a-z]*/[a-z]*.el \
199 cd ../leim; ls -1 [a-z]*/[a-z]*.el) > /tmp/el 200 leim/[a-z]*/[a-z]*.el > /tmp/el
200 (cd lisp; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc; \ 201 ls -1 lisp/[a-z]*.elc lisp/[a-z]*/[a-z]*.elc \
201 cd ../leim; ls -1 [a-z]*/[a-z]*.elc) | sed 's/\.elc$/.el/' > /tmp/elc 202 leim/[a-z]*/[a-z]*.elc | sed 's/\.elc$/.el/' > /tmp/elc
202 losers="`comm -23 /tmp/el /tmp/elc`" 203 losers="`comm -23 /tmp/el /tmp/elc`"
203 bogosities= 204 bogosities=
204 for file in $losers; do 205 for file in $losers; do
205 file1=`echo $file | sed -e "s|.*/||"` 206 if ! grep -q "no-byte-compile: t" $file; then
206 if ! sed -n -e "/^DONTCOMPILE/,/[^\\]\$/p" lisp/Makefile.in |
207 grep -q "[ ]$file1\($\| \)"; then
208 case $file in 207 case $file in
209 site-init.el | site-load.el | site-start.el | default.el) 208 site-init.el | site-load.el | site-start.el | default.el)
210 ;; 209 ;;
211 term/*)
212 ;;
213 *) 210 *)
214 bogosities="$file $bogosities" 211 bogosities="$file $bogosities"
215 ;; 212 ;;