mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 19:03:24 +00:00
Simplify cross cleaning
* cross/Makefile.in (clean, maintainer-clean): Prefer a single ‘find’ to doing ‘find’ in a shell loop.
This commit is contained in:
parent
0f75a01acd
commit
421d307733
1 changed files with 2 additions and 6 deletions
|
@ -182,9 +182,7 @@ $(LIBSRC_BINARIES) &: src/verbose.mk $(top_builddir)/$@ lib/libgnu.a \
|
|||
|
||||
.PHONY: clean maintainer-clean distclean
|
||||
clean:
|
||||
for dir in $(CLEAN_SUBDIRS); do \
|
||||
find $$dir -type f $(FIND_DELETE); \
|
||||
done
|
||||
find $(CLEAN_SUBDIRS) -type f $(FIND_DELETE)
|
||||
rm -rf lib/config.h lib-src/config.h
|
||||
# ndk-build won't have been generated in a non-Android build.
|
||||
if test -f ndk-build/Makefile; then \
|
||||
|
@ -193,8 +191,6 @@ clean:
|
|||
|
||||
maintainer-clean distclean bootstrap-clean: clean
|
||||
# Remove links created by configure.
|
||||
for dir in $(CLEAN_SUBDIRS); do \
|
||||
find $$dir -type l $(FIND_DELETE); \
|
||||
done
|
||||
find $(CLEAN_SUBDIRS) -type l $(FIND_DELETE)
|
||||
rm -rf lib/Makefile lib/gnulib.mk ndk-build/Makefile
|
||||
rm -rf ndk-build/ndk-build.mk Makefile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue