Commit 0a8b75e2 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.

parent c76489d6
2013-11-06 Glenn Morris <rgm@gnu.org>
* Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
* electric.el (electric-indent-just-newline): New command.
......
......@@ -109,25 +109,22 @@ COMPILE_FIRST = \
emacs = unset EMACSLOADPATH; "$(EMACS)" $(EMACSOPT)
# Common command to find subdirectories
setwins=subdirs=`find . -type d -print`; \
for file in $$subdirs; do \
case $$file in */.* | */.*/* | */=* ) ;; \
setwins=for file in `find . -type d -print`; do \
case $$file in */.* ) ;; \
*) wins="$$wins$${wins:+ }$$file" ;; \
esac; \
done
# Find all subdirectories except `obsolete' and `term'.
setwins_almost=subdirs=`find . -type d -print`; \
for file in $$subdirs; do \
case $$file in */.* | */.*/* | */=* | */obsolete | */term ) ;; \
setwins_almost=for file in `find . -type d -print`; do \
case $$file in */.* | */obsolete | */term ) ;; \
*) wins="$$wins$${wins:+ }$$file" ;; \
esac; \
done
# Find all subdirectories in which we might want to create subdirs.el
setwins_for_subdirs=subdirs=`find . -type d -print`; \
for file in $$subdirs; do \
case $$file in */.* | */.*/* | */=* | */cedet* ) ;; \
setwins_for_subdirs=for file in `find . -type d -print`; do \
case $$file in */.* | */cedet* ) ;; \
*) wins="$$wins$${wins:+ }$$file" ;; \
esac; \
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment