From 8c275ccfa881998d96bdb5c1585118882630254b Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 9 Jun 2010 10:49:15 +0200 Subject: Makefile: dynamically get the version number --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a5589803..dc030b5a 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ # along with this program. If not, see . NAME = ranger -VERSION = 1.0.4 +VERSION = $(shell cat README | grep -m 1 -o '[0-9][0-9.]\+') PYTHON ?= python DOCDIR ?= doc/pydoc PREFIX ?= /usr -- cgit 1.4.1-2-gfad0