diff options
author | hut <hut@lavabit.com> | 2010-06-09 10:49:15 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-06-09 10:49:15 +0200 |
commit | 8c275ccfa881998d96bdb5c1585118882630254b (patch) | |
tree | 34fdd00f2364fdc16cfd07dfd660bf611286bb3c | |
parent | 2a6ad17d6ea8b3973970e5d9bd1604375629d6e9 (diff) | |
download | ranger-8c275ccfa881998d96bdb5c1585118882630254b.tar.gz |
Makefile: dynamically get the version number
-rw-r--r-- | Makefile | 2 |
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 |