Mercurial > emacs
comparison lisp/Makefile.in @ 54632:e2815226989d
(setwins, setwins_almost): Change directory to $wd
before finding directories by `find'.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 29 Mar 2004 02:24:50 +0000 |
parents | 28e8d2c26aa1 |
children | 6fd8c9a09dac fd7beda03521 |
comparison
equal
deleted
inserted
replaced
54631:ec452a2865a8 | 54632:e2815226989d |
---|---|
134 | 134 |
135 emacs = EMACSLOADPATH=$(lisp) $(EMACS) $(EMACSOPT) | 135 emacs = EMACSLOADPATH=$(lisp) $(EMACS) $(EMACSOPT) |
136 | 136 |
137 # Common command to find subdirectories | 137 # Common command to find subdirectories |
138 | 138 |
139 setwins=subdirs=`find $$wd -type d -print`; \ | 139 setwins=subdirs=`(cd $$wd; find . -type d -print)`; \ |
140 for file in $$subdirs; do \ | 140 for file in $$subdirs; do \ |
141 case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; \ | 141 case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; \ |
142 *) wins="$$wins $$file" ;; \ | 142 *) wins="$$wins $$wd/$$file" ;; \ |
143 esac; \ | 143 esac; \ |
144 done | 144 done |
145 | 145 |
146 setwins_almost=subdirs=`find $$wd -type d -print`; \ | 146 setwins_almost=subdirs=`(cd $$wd; find . -type d -print)`; \ |
147 for file in $$subdirs; do \ | 147 for file in $$subdirs; do \ |
148 case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; \ | 148 case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; \ |
149 *) wins="$$wins $$file" ;; \ | 149 *) wins="$$wins $$wd/$$file" ;; \ |
150 esac; \ | 150 esac; \ |
151 done | 151 done |
152 | 152 |
153 doit: | 153 doit: |
154 | 154 |