summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorLute Kamstra <lute@gnu.org>2005-04-13 09:33:35 +0000
committerLute Kamstra <lute@gnu.org>2005-04-13 09:33:35 +0000
commit33740d04224981ea5ae288ecb490af593db2eb04 (patch)
treed4867d64e48c4a072df55d8bdd9374ab97224e61 /make-dist
parenta2d66c78bb183476b4976e879857b011e155a2c1 (diff)
downloademacs-33740d04224981ea5ae288ecb490af593db2eb04.tar.gz
Don't use DONTCOMPILE from lisp/Makefile.in; check for
"no-byte-compile: t" in the file instead.
Diffstat (limited to 'make-dist')
-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 @@
#### be distributed. This means that if you add a file with an odd name,
#### you should make sure that this script will include it.
-# Copyright (C) 1995, 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1997, 1998, 2000, 2001, 2002, 2005
+# Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
#
@@ -195,21 +196,17 @@ then
rm -f /tmp/el /tmp/elc
### Check for .el files with no corresponding .elc file.
- (cd lisp; ls -1 [a-z]*.el [a-z]*/[a-z]*.el ; \
- cd ../leim; ls -1 [a-z]*/[a-z]*.el) > /tmp/el
- (cd lisp; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc; \
- cd ../leim; ls -1 [a-z]*/[a-z]*.elc) | sed 's/\.elc$/.el/' > /tmp/elc
+ ls -1 lisp/[a-z]*.el lisp/[a-z]*/[a-z]*.el \
+ leim/[a-z]*/[a-z]*.el > /tmp/el
+ ls -1 lisp/[a-z]*.elc lisp/[a-z]*/[a-z]*.elc \
+ leim/[a-z]*/[a-z]*.elc | sed 's/\.elc$/.el/' > /tmp/elc
losers="`comm -23 /tmp/el /tmp/elc`"
bogosities=
for file in $losers; do
- file1=`echo $file | sed -e "s|.*/||"`
- if ! sed -n -e "/^DONTCOMPILE/,/[^\\]\$/p" lisp/Makefile.in |
- grep -q "[ ]$file1\($\| \)"; then
+ if ! grep -q "no-byte-compile: t" $file; then
case $file in
site-init.el | site-load.el | site-start.el | default.el)
;;
- term/*)
- ;;
*)
bogosities="$file $bogosities"
;;