Tweak to Makefile rules that list *.el files

* lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
* test/automated/Makefile.in (setwins):
Avoid leading space in $wins.  Otherwise the sed command used by
eg compile-main ends up containing "/*.el".

Fixes: debbugs:15170
This commit is contained in:
Glenn Morris 2013-08-31 19:12:32 -07:00
parent 2e4a0a9071
commit f8ccce0306
4 changed files with 14 additions and 4 deletions

View file

@ -1,5 +1,9 @@
2013-09-01 Glenn Morris <rgm@gnu.org>
* Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
Avoid leading space in $wins. Otherwise the sed command used by
eg compile-main ends up containing "/*.el". (Bug#15170)
* frame.el (frame-background-mode): Doc fix. (Bug#15226)
2013-08-30 Glenn Morris <rgm@gnu.org>

View file

@ -118,7 +118,7 @@ emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT)
setwins=subdirs=`find . -type d -print`; \
for file in $$subdirs; do \
case $$file in */.* | */.*/* | */=* ) ;; \
*) wins="$$wins $$file" ;; \
*) wins="$$wins$${wins:+ }$$file" ;; \
esac; \
done
@ -126,7 +126,7 @@ setwins=subdirs=`find . -type d -print`; \
setwins_almost=subdirs=`find . -type d -print`; \
for file in $$subdirs; do \
case $$file in */.* | */.*/* | */=* | */obsolete | */term ) ;; \
*) wins="$$wins $$file" ;; \
*) wins="$$wins$${wins:+ }$$file" ;; \
esac; \
done
@ -134,7 +134,7 @@ setwins_almost=subdirs=`find . -type d -print`; \
setwins_for_subdirs=subdirs=`find . -type d -print`; \
for file in $$subdirs; do \
case $$file in */.* | */.*/* | */=* | */cedet* ) ;; \
*) wins="$$wins $$file" ;; \
*) wins="$$wins$${wins:+ }$$file" ;; \
esac; \
done

View file

@ -1,3 +1,9 @@
2013-09-01 Glenn Morris <rgm@gnu.org>
* automated/Makefile.in (setwins): Avoid leading space in $wins.
Otherwise the sed command used by eg compile-main ends up
containing "/*.el". (Bug#15170)
2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
* Makefile.in (SHELL): Now @SHELL@, not /bin/sh,

View file

@ -52,7 +52,7 @@ emacs = EMACSLOADPATH=$(lispsrc):$(test) LC_ALL=C $(EMACS) $(EMACSOPT)
setwins=subdirs=`find . -type d -print`; \
for file in $$subdirs; do \
case $$file in */.* | */.*/* | */=* | ./data* ) ;; \
*) wins="$$wins $$file" ;; \
*) wins="$$wins$${wins:+ }$$file" ;; \
esac; \
done