From b7e991c4b753248c90e7a8f6116e098a7f796728 Mon Sep 17 00:00:00 2001 From: David Adam Date: Thu, 15 Oct 2015 17:18:02 +0800 Subject: [PATCH] Makefile: only clean PCRE2 directory if it is configured in --- Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.in b/Makefile.in index 8ddefb465..28280f580 100644 --- a/Makefile.in +++ b/Makefile.in @@ -880,7 +880,9 @@ distclean: clean # deleted we won't be able to regenerate them clean: +ifdef EXTRA_PCRE2 $(MAKE) -C $(PCRE2_DIR) clean +endif rm -f obj/*.o *.o doc.h doc.tmp doc_src/*.doxygen doc_src/*.cpp doc_src/*.o doc_src/commands.hdr rm -f tests/tmp.err tests/tmp.out tests/tmp.status tests/foo.txt rm -f $(PROGRAMS) fish_tests key_reader