summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
 
 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