]> thyrsus.com Git - intercal.git/commitdiff
Fix the clean hook to avoid problems in make distcheck.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 1 Sep 2010 08:26:15 +0000 (04:26 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 1 Sep 2010 08:26:15 +0000 (04:26 -0400)
buildaux/Makefile.am

index ccb37ec5de45310c886c1d949d827e003b208c04..cc4932c90b1a1d10d5a457cb4bd1e042f73830db 100644 (file)
@@ -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.