From e80835bb0aa3e140a90f47800cddbb9a477dc8c1 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 15 Feb 2017 16:55:53 +0000 Subject: [PATCH] test: Delete directories like directories, not files Directories can't usefully appear in CLEANFILES, we have to delete them recursively in clean-local. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99828 Signed-off-by: Simon McVittie Reviewed-by: Philip Withnall --- test/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index df0ab36..7c712fa 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -580,6 +580,7 @@ clean-local: rm -f "$${F%.in}"; \ done; \ fi + rm -fr ./XDG_RUNTIME_DIR ./installable imported_data = \ data/valid-config-files/session.conf \ @@ -589,8 +590,6 @@ imported_data = \ noinst_DATA = $(imported_data) CLEANFILES += \ $(noinst_DATA) \ - XDG_RUNTIME_DIR \ - installable \ $(NULL) data/valid-config-files/session.conf: $(top_builddir)/bus/session.conf -- 2.7.4