From f2ad4a2e8e502091651d1d9861169e31b927ed01 Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Fri, 26 Nov 2010 15:16:56 -0500 Subject: [PATCH] Makefile: test for xsel directory before trying to clean it. This avoids the users seeing ignored errors for make -C clean. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 2f09833da..32dc2bb70 100644 --- a/Makefile.in +++ b/Makefile.in @@ -887,7 +887,7 @@ clean: rm -rf doc; rm -rf fish-@PACKAGE_VERSION@ rm -f $(TRANSLATIONS) - -make -C $(XSEL) clean + test ! -d "$(XSEL)" || make -C $(XSEL) clean .PHONY: clean