diff options
| author | Glenn Morris | 2013-08-31 19:12:32 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-08-31 19:12:32 -0700 |
| commit | f8ccce0306a6f34d9b41627ac8e5ceca16cdbafd (patch) | |
| tree | 8c0353c103044c8deffd790a1558f01aef56720c | |
| parent | 2e4a0a90718bae5534d74a6dd3d232c7d9bf61be (diff) | |
| download | emacs-f8ccce0306a6f34d9b41627ac8e5ceca16cdbafd.tar.gz emacs-f8ccce0306a6f34d9b41627ac8e5ceca16cdbafd.zip | |
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
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/Makefile.in | 6 | ||||
| -rw-r--r-- | test/ChangeLog | 6 | ||||
| -rw-r--r-- | test/automated/Makefile.in | 2 |
4 files changed, 14 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2dda52f82ed..be8caf189d2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2013-09-01 Glenn Morris <rgm@gnu.org> | 1 | 2013-09-01 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): | ||
| 4 | Avoid leading space in $wins. Otherwise the sed command used by | ||
| 5 | eg compile-main ends up containing "/*.el". (Bug#15170) | ||
| 6 | |||
| 3 | * frame.el (frame-background-mode): Doc fix. (Bug#15226) | 7 | * frame.el (frame-background-mode): Doc fix. (Bug#15226) |
| 4 | 8 | ||
| 5 | 2013-08-30 Glenn Morris <rgm@gnu.org> | 9 | 2013-08-30 Glenn Morris <rgm@gnu.org> |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index c71fb37e62c..4fba1053dfa 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -118,7 +118,7 @@ emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT) | |||
| 118 | setwins=subdirs=`find . -type d -print`; \ | 118 | setwins=subdirs=`find . -type d -print`; \ |
| 119 | for file in $$subdirs; do \ | 119 | for file in $$subdirs; do \ |
| 120 | case $$file in */.* | */.*/* | */=* ) ;; \ | 120 | case $$file in */.* | */.*/* | */=* ) ;; \ |
| 121 | *) wins="$$wins $$file" ;; \ | 121 | *) wins="$$wins$${wins:+ }$$file" ;; \ |
| 122 | esac; \ | 122 | esac; \ |
| 123 | done | 123 | done |
| 124 | 124 | ||
| @@ -126,7 +126,7 @@ setwins=subdirs=`find . -type d -print`; \ | |||
| 126 | setwins_almost=subdirs=`find . -type d -print`; \ | 126 | setwins_almost=subdirs=`find . -type d -print`; \ |
| 127 | for file in $$subdirs; do \ | 127 | for file in $$subdirs; do \ |
| 128 | case $$file in */.* | */.*/* | */=* | */obsolete | */term ) ;; \ | 128 | case $$file in */.* | */.*/* | */=* | */obsolete | */term ) ;; \ |
| 129 | *) wins="$$wins $$file" ;; \ | 129 | *) wins="$$wins$${wins:+ }$$file" ;; \ |
| 130 | esac; \ | 130 | esac; \ |
| 131 | done | 131 | done |
| 132 | 132 | ||
| @@ -134,7 +134,7 @@ setwins_almost=subdirs=`find . -type d -print`; \ | |||
| 134 | setwins_for_subdirs=subdirs=`find . -type d -print`; \ | 134 | setwins_for_subdirs=subdirs=`find . -type d -print`; \ |
| 135 | for file in $$subdirs; do \ | 135 | for file in $$subdirs; do \ |
| 136 | case $$file in */.* | */.*/* | */=* | */cedet* ) ;; \ | 136 | case $$file in */.* | */.*/* | */=* | */cedet* ) ;; \ |
| 137 | *) wins="$$wins $$file" ;; \ | 137 | *) wins="$$wins$${wins:+ }$$file" ;; \ |
| 138 | esac; \ | 138 | esac; \ |
| 139 | done | 139 | done |
| 140 | 140 | ||
diff --git a/test/ChangeLog b/test/ChangeLog index bbc841585d1..7b39097d3b5 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-09-01 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * automated/Makefile.in (setwins): Avoid leading space in $wins. | ||
| 4 | Otherwise the sed command used by eg compile-main ends up | ||
| 5 | containing "/*.el". (Bug#15170) | ||
| 6 | |||
| 1 | 2013-08-28 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2013-08-28 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | * Makefile.in (SHELL): Now @SHELL@, not /bin/sh, | 9 | * Makefile.in (SHELL): Now @SHELL@, not /bin/sh, |
diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in index 5e0ca182c65..bf8e62f77cd 100644 --- a/test/automated/Makefile.in +++ b/test/automated/Makefile.in | |||
| @@ -52,7 +52,7 @@ emacs = EMACSLOADPATH=$(lispsrc):$(test) LC_ALL=C $(EMACS) $(EMACSOPT) | |||
| 52 | setwins=subdirs=`find . -type d -print`; \ | 52 | setwins=subdirs=`find . -type d -print`; \ |
| 53 | for file in $$subdirs; do \ | 53 | for file in $$subdirs; do \ |
| 54 | case $$file in */.* | */.*/* | */=* | ./data* ) ;; \ | 54 | case $$file in */.* | */.*/* | */=* | ./data* ) ;; \ |
| 55 | *) wins="$$wins $$file" ;; \ | 55 | *) wins="$$wins$${wins:+ }$$file" ;; \ |
| 56 | esac; \ | 56 | esac; \ |
| 57 | done | 57 | done |
| 58 | 58 | ||