Makefile: test for xsel directory before trying to clean it.

This avoids the users seeing ignored errors for make -C  clean.
This commit is contained in:
Dylan Smith 2010-11-26 15:16:56 -05:00 committed by Grissiom
parent df23913bb8
commit f2ad4a2e8e

View file

@ -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