Suppress error messages from Makefile when git-describe is not available.
[cumulus.git] / Makefile
index 854be80..251db04 100644 (file)
--- 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 :