From: Michael Vrable Date: Sun, 9 Sep 2007 00:36:43 +0000 (-0700) Subject: Suppress error messages from Makefile when git-describe is not available. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=ffb5e058506c9eb1d91bf29db94ed446abdb86fa;p=cumulus.git Suppress error messages from Makefile when git-describe is not available. --- diff --git a/Makefile b/Makefile index 854be80..251db04 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ lbs : $(OBJS) $(CXX) $(LDFLAGS) -o $@ $^ version : NEWS - (git-describe || (head -n1 NEWS | cut -d" " -f1)) >version + (git-describe || (head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null $(OBJS) : version clean :