Remove example Makefiles when running distclean-examples in out-of-src build
This commit is contained in:
parent
d1f95ab6fd
commit
bdc63e5a9f
1 changed files with 5 additions and 0 deletions
|
|
@ -420,6 +420,11 @@ distclean-examples:
|
|||
@echo distcleaning Examples
|
||||
@$(MAKE) $(FLAGS) clean-examples
|
||||
@cd Examples && $(MAKE) $(FLAGS) distclean
|
||||
@if test "x$(srcdir)" != "x."; then \
|
||||
for mkfile in `cd $(srcdir) && find Examples/ -type f -name Makefile`; do \
|
||||
rm -f "$$mkfile"; \
|
||||
done; \
|
||||
fi
|
||||
|
||||
distclean-ccache:
|
||||
@test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) $(FLAGS) distclean)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue