Mercurial > emacs
comparison make-dist @ 90143:146c086df160
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-37
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 241-257)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 59-65)
- Update from CVS
- Merge from emacs--cvs-trunk--0
- (mm-string-to-multibyte): Use Gnus trunk definition.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 14 Apr 2005 05:03:52 +0000 |
parents | 59dcbfe97385 f1e5f5261b95 |
children | e1fbb019c538 |
comparison
equal
deleted
inserted
replaced
90142:627771f44771 | 90143:146c086df160 |
---|---|
4 #### source tree. This basically creates a duplicate directory | 4 #### source tree. This basically creates a duplicate directory |
5 #### structure, and then hard links into it only those files that should | 5 #### structure, and then hard links into it only those files that should |
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 # |
13 # GNU Emacs is free software; you can redistribute it and/or modify | 14 # GNU Emacs is free software; you can redistribute it and/or modify |
14 # it under the terms of the GNU General Public License as published by | 15 # it under the terms of the GNU General Public License as published by |
193 echo "${bogosities}" | 194 echo "${bogosities}" |
194 fi | 195 fi |
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 ;; | |
211 term/*) | |
212 ;; | 209 ;; |
213 *) | 210 *) |
214 bogosities="$file $bogosities" | 211 bogosities="$file $bogosities" |
215 ;; | 212 ;; |
216 esac | 213 esac |