Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 482804
Collapse All | Expand All

(-)a/src/Makefile (-2 / +1 lines)
Lines 190-196 VERSION_PATCH = 0 Link Here
190
EXTRAVERSION	= +
190
EXTRAVERSION	= +
191
MM_VERSION	= $(VERSION_MAJOR).$(VERSION_MINOR)
191
MM_VERSION	= $(VERSION_MAJOR).$(VERSION_MINOR)
192
VERSION		= $(MM_VERSION).$(VERSION_PATCH)$(EXTRAVERSION)
192
VERSION		= $(MM_VERSION).$(VERSION_PATCH)$(EXTRAVERSION)
193
GITVERSION := $(shell git describe --always --abbrev=1 --match "" 2>/dev/null)
193
GITVERSION := $(shell [ -d ../.git ] && git describe --always --abbrev=1 --match "" 2>/dev/null)
194
ifneq ($(GITVERSION),)
194
ifneq ($(GITVERSION),)
195
VERSION		+= ($(GITVERSION))
195
VERSION		+= ($(GITVERSION))
196
endif
196
endif
197
- 

Return to bug 482804