From 28dff090c74b6ba8609c4797294a5afe3fe73987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Pokorn=C3=BD?= Date: Thu, 21 Dec 2017 13:23:12 +0100 Subject: [PATCH] maint: fix "make maintainer-clean" not working in tests/functional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- tests/functional/GNUmakefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/functional/GNUmakefile b/tests/functional/GNUmakefile index 1b9de8100..f75d543e4 100644 --- a/tests/functional/GNUmakefile +++ b/tests/functional/GNUmakefile @@ -3,11 +3,12 @@ all check: @echo "Use 'make $@' within particular subdirectories" install: force # definitely not desired to install anything from this subtree -distclean: - # following is a nasty hack to keep "make distclean" succeeding - # (problem mostly arises from shared object files and hence shared - # compiler-generated makefile includes which are swiped when - # processing one subdir and missing as hard error for the other) +distclean maintainer-clean: + # following is a nasty hack to keep "make distclean" (and + # ~ "maintainer-clean") succeeding (problem mostly arises from + # shared object files and hence shared compiler-generated makefile + # includes, which are swiped when processing one subdir and then + # missing, as a hard error, for the other) @$(MAKE) -C log_external $@ @mkdir .deps @touch .deps/log_client.Po .deps/log_interlib.Plo .deps/log_interlib_client.Po @@ -17,4 +18,4 @@ distclean: @$(MAKE) -f Makefile $@ force: ; -.PHONY: check distclean force install +.PHONY: check distclean force install maintainer-clean