Commit 8560103f authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Merge loops.

* This improves resiliency to changes in project directory changes too.
parent 9dca257a
......@@ -67,11 +67,8 @@ distclean-local:
@for d in $(SUBDIRS); do \
dd=$$d/$(DEPDIR) ; test ! -d $$dd \
|| (rm -f $$dd/FC.dep* ; rmdir $$dd) ; \
test "$(abs_builddir)" = "$(abs_srcdir)" -o $$d = . \
|| rmdir $$d ; done
@if test "$(abs_builddir)" != "$(abs_srcdir)" ; then \
for d in core ppm; do \
test $$d = . || rmdir $$d ; done ; fi
test "$(abs_builddir)" = "$(abs_srcdir)" \
-o $$d = . -o ! -d $$d || rmdir $$d ; done
dist-hook:
-rmdir $(distdir)/core $(distdir)/ppm
......
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