From f9be0a4e4d68a5950f3306384a2a89a133a86b47 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 1 Sep 2010 04:26:15 -0400 Subject: [PATCH] Fix the clean hook to avoid problems in make distcheck. --- buildaux/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildaux/Makefile.am b/buildaux/Makefile.am index ccb37ec..cc4932c 100644 --- a/buildaux/Makefile.am +++ b/buildaux/Makefile.am @@ -174,7 +174,7 @@ DISTCLEANFILES = parser.c parser.h lexer.c oil-oil.c host.mak bconfig.h config.s # Clean the pit test binaries on toplevel make clean clean-local: - cd pit; make clean + if [ -d pit ]; then cd pit; make clean; fi # If a documentation file is needed but not available, invoke the doc # makefile to build it. -- 2.43.0