Browse Source

Makefile: pipe git describe errors to /dev/null

master
Harald Hoyer 12 years ago
parent
commit
268ae2841b
  1. 4
      Makefile

4
Makefile

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
RELEASEDVERSION = -- will be replaced by "make dist" --
VERSION = $(shell [ -d .git ] && git describe --abbrev=0 --tags || echo $(RELEASEDVERSION))
GITVERSION = $(shell [ -d .git ] && { v=$$(git describe --tags); echo -$${v\#*-}; } )
VERSION = $(shell [ -d .git ] && git describe --abbrev=0 --tags 2>/dev/null || echo $(RELEASEDVERSION))
GITVERSION = $(shell [ -d .git ] && { v=$$(git describe --tags 2>/dev/null); echo -$${v\#*-}; } )

-include Makefile.inc


Loading…
Cancel
Save