From cf739732cff1b102acc24e82f630195b760fc884 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 13 Jun 2014 19:30:09 +0200 Subject: test: Fix make clean in relation with out-of-tree build directory --- test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.am b/test/Makefile.am index acfea54..3bd3e5d 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -33,4 +33,4 @@ EXTRA_DIST = $(TESTS) data/1.plist data/2.plist data/3.plist data/4.plist data/5 TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) top_builddir=$(top_builddir) clean-local: - cd $(top_builddir)/test/data && rm -f *.out *.bin *.xml + if test -d $(top_builddir)/test/data; then cd $(top_builddir)/test/data && rm -f *.out *.bin *.xml; fi -- cgit v1.1-32-gdbae