/[emacs]/emacs/make-dist
ViewVC logotype

Diff of /emacs/make-dist

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.209 by handa, Mon Jun 21 11:57:12 2004 UTC revision 1.210 by lute, Wed Apr 13 09:33:35 2005 UTC
# Line 6  Line 6 
6  #### be distributed.  This means that if you add a file with an odd name,  #### 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.  #### you should make sure that this script will include it.
8    
9  # Copyright (C) 1995, 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.  # Copyright (C) 1995, 1997, 1998, 2000, 2001, 2002, 2005
10    #   Free Software Foundation, Inc.
11  #  #
12  # This file is part of GNU Emacs.  # This file is part of GNU Emacs.
13  #  #
# Line 195  then Line 196  then
196    rm -f /tmp/el /tmp/elc    rm -f /tmp/el /tmp/elc
197    
198    ### Check for .el files with no corresponding .elc file.    ### Check for .el files with no corresponding .elc file.
199    (cd lisp; ls -1 [a-z]*.el [a-z]*/[a-z]*.el ; \    ls -1 lisp/[a-z]*.el lisp/[a-z]*/[a-z]*.el \
200     cd ../leim; ls -1 [a-z]*/[a-z]*.el) > /tmp/el          leim/[a-z]*/[a-z]*.el > /tmp/el
201    (cd lisp; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc; \    ls -1 lisp/[a-z]*.elc lisp/[a-z]*/[a-z]*.elc \
202     cd ../leim; ls -1 [a-z]*/[a-z]*.elc) | sed 's/\.elc$/.el/' > /tmp/elc          leim/[a-z]*/[a-z]*.elc | sed 's/\.elc$/.el/' > /tmp/elc
203    losers="`comm -23 /tmp/el /tmp/elc`"    losers="`comm -23 /tmp/el /tmp/elc`"
204    bogosities=    bogosities=
205    for file in $losers; do    for file in $losers; do
206      file1=`echo $file | sed -e "s|.*/||"`      if ! grep -q "no-byte-compile: t" $file; then
     if ! sed -n -e "/^DONTCOMPILE/,/[^\\]\$/p" lisp/Makefile.in |  
          grep -q "[     ]$file1\($\| \)"; then  
207        case $file in        case $file in
208          site-init.el | site-load.el | site-start.el | default.el)          site-init.el | site-load.el | site-start.el | default.el)
209            ;;            ;;
         term/*)  
           ;;  
210          *)          *)
211            bogosities="$file $bogosities"            bogosities="$file $bogosities"
212            ;;            ;;

Legend:
Removed from v.1.209  
changed lines
  Added in v.1.210

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26