changeset 25967:8a1730e677fe

(dontcompile): look for the DONTCOMPILE variable rather than the obsolete dontcompilefiles pseudo-rule in lisp/Makefile.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 10 Oct 1999 01:45:54 +0000
parents 4326e62831cd
children ce21f2e29083
files make-dist
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make-dist	Sun Oct 10 01:39:53 1999 +0000
+++ b/make-dist	Sun Oct 10 01:45:54 1999 +0000
@@ -175,7 +175,8 @@
   bogosities=
   for file in $losers; do
     file1=`echo $file | sed -e "s|.*/||"`
-    if ! grep -q "dontcompilefiles:.* $file1\($\| \)" lisp/Makefile; then
+    if ! sed -n -e "/^DONTCOMPILE/,/[^\\]\$/p" lisp/Makefile |
+	 grep -q "[ 	]$file1\($\| \)"; then
       case $file in
 	site-init.el | site-load.el | site-start.el | default.el)
 	  ;;