]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Don’t error out if a libzstd/libb2 Makefile doesn’t exist when cleaning
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 5 Sep 2019 19:53:58 +0000 (21:53 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 5 Sep 2019 20:10:59 +0000 (22:10 +0200)
Makefile.in

index 3c6c721e4fe7e51be34f6f558baad72646371a0f..64f97a371450a42fb18ed27d95161953bbe2bbd0 100644 (file)
@@ -129,8 +129,8 @@ install: ccache$(EXEEXT) @disable_man@ccache.1
 .PHONY: clean
 clean:
        rm -rf $(files_to_clean)
-       [ ! -d src/third_party/zstd ] || $(MAKE) -C src/third_party/zstd/lib clean
-       [ ! -d src/third_party/libb2 ] || $(MAKE) -C src/third_party/libb2 clean
+       [ ! -f src/third_party/zstd/Makefile ] || $(MAKE) -C src/third_party/zstd/lib clean
+       [ ! -f src/third_party/libb2/Makefile ] || $(MAKE) -C src/third_party/libb2 clean
 
 src/third_party/snprintf.o: CFLAGS += @no_implicit_fallthrough_warning@