From: Eric S. Raymond Date: Wed, 1 Sep 2010 08:26:15 +0000 (-0400) Subject: Fix the clean hook to avoid problems in make distcheck. X-Git-Tag: 0.29~77^2~3 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=f9be0a4e4d68a5950f3306384a2a89a133a86b47;p=intercal.git Fix the clean hook to avoid problems in make distcheck. --- 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.