From e675b8a3c60109edd2fdfc575096285f6a6fa9a3 Mon Sep 17 00:00:00 2001 From: Chrissie Caulfield Date: Mon, 27 Apr 2020 13:24:03 +0100 Subject: [PATCH] Fix error in CI tests - make distcheck Backport of some 'make distcheck' fixes --- tests/Makefile.am | 3 ++- tests/functional/GNUmakefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index da8f3a5b0..b14838c7c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -80,8 +80,9 @@ check: check-headers .PHONY: check-headers check-headers: $(auto_c_files:.c=.o) -distclean-compile: +distclean-local: rm -rf auto_*.c + rm -rf .deps if HAVE_DICT_WORDS if HAVE_SLOW_TESTS diff --git a/tests/functional/GNUmakefile b/tests/functional/GNUmakefile index f75d543e4..658ac3902 100644 --- a/tests/functional/GNUmakefile +++ b/tests/functional/GNUmakefile @@ -10,7 +10,7 @@ distclean maintainer-clean: # includes, which are swiped when processing one subdir and then # missing, as a hard error, for the other) @$(MAKE) -C log_external $@ - @mkdir .deps + @mkdir -p .deps @touch .deps/log_client.Po .deps/log_interlib.Plo .deps/log_interlib_client.Po @$(MAKE) -C log_internal $@ @$(MAKE) -f Makefile $@ SUBDIRS=