Commit 1d0a60f4 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Only remove directories in external build tree.

parent 14ffefd9
......@@ -86,8 +86,9 @@ distclean-local: clean-local
-rm -f src/ppm_doxygen_deps.list
@for d in $(SUBDIRS); do \
dd=$$d/$(DEPDIR) ; test ! -d $$dd \
|| (rm -f $$dd/FC.dep* ; rmdir $$dd) ; \
test $$d = . || { rm -f $$d/Makefile ; rmdir $$d ; } ; done
|| (rm -f $$dd/FC.dep* ; rmdir $$dd ) ; \
test $$d = . || { rm -f $$d/Makefile ; \
[ -r $$dd/Makefile.in ] || rmdir $$d ; } ; done
all-local:
@for d in $(SUBDIRS); do \
......
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