summaryrefslogtreecommitdiffstats
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-06-13 19:30:09 +0200
committerGravatar Martin Szulecki2014-06-13 19:30:09 +0200
commitcf739732cff1b102acc24e82f630195b760fc884 (patch)
tree0000de8231e364b7d0ade949a7b1f07b268af57b /test/Makefile.am
parent48ba2e388d56541739ee5147d1d5c7c26e5676fa (diff)
downloadlibplist-cf739732cff1b102acc24e82f630195b760fc884.tar.gz
libplist-cf739732cff1b102acc24e82f630195b760fc884.tar.bz2
test: Fix make clean in relation with out-of-tree build directory
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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