summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>1999-10-10 01:45:54 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>1999-10-10 01:45:54 +0000
commitaa501770affe744f344a32ae67db12747f897fdd (patch)
treef558ef64e6513f8920af446c28ad2c60437ff103 /make-dist
parenta04f1a93c6f08aef3c8736322e24cbf67d3ad842 (diff)
downloademacs-aa501770affe744f344a32ae67db12747f897fdd.tar.gz
(dontcompile): look for the DONTCOMPILE variable rather
than the obsolete dontcompilefiles pseudo-rule in lisp/Makefile.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist3
1 files changed, 2 insertions, 1 deletions
diff --git a/make-dist b/make-dist
index 3c57500e300..80758bce847 100755
--- a/make-dist
+++ b/make-dist
@@ -175,7 +175,8 @@ then
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)
;;