Commit 6abbdacc authored by Ola Bini's avatar Ola Bini

Make sure that "make clean" after a configure with --enable-tests won't

fail on the check directory.

Contribution from Fan Jiang, Iván Pazmiño and Ola Bini.
parent 98d040ee
...@@ -37,7 +37,8 @@ check: ...@@ -37,7 +37,8 @@ check:
clean: clean:
rm -f build/$(XPIFILE) rm -f build/$(XPIFILE)
for dir in $(DIRS); do \ for dir in $(DIRS); do \
$(MAKE) -C $$dir clean; \ if [ "$${dir}x" != "checkx" ]; then \
$(MAKE) -C $$dir clean; fi; \
done done
distclean: clean distclean: clean
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