Makefile: keep version in a file

This commit is contained in:
Maxim Baz
2019-03-19 23:20:34 +01:00
parent c49fedd2a3
commit 59d215d389
2 changed files with 2 additions and 1 deletions

1
.version Normal file
View File

@@ -0,0 +1 @@
3.0.0

View File

@@ -1,4 +1,4 @@
VERSION ?= undefined
VERSION ?= $(shell cat .version)
CLEAN_FILES := chromium firefox dist
CHROME := $(shell which chromium 2>/dev/null || which chromium-browser 2>/dev/null || which chrome 2>/dev/null || which google-chrome 2>/dev/null || which google-chrome-stable 2>/dev/null)