Browse files

Add VERSION file, and read version number from it

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
  • Loading branch information...
1 parent e434f0c commit 5f090d36a26b0696ad9a8b005886d864f448a6dd Mike McClurg committed Nov 15, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −0 VERSION
  2. +1 −2 config.mk.in
View
1 VERSION
@@ -0,0 +1 @@
+0.5
View
3 config.mk.in
@@ -13,8 +13,7 @@ OCAML_XS_LIB = $(OCAML_XS_DIR)/xenstore.cmxa
LDFLAGS = -cclib -L./
-VERSION := 0.2
-VERSION ?= $(shell git show-ref --head -s origin/HEAD || echo 0)
+VERSION ?= $(shell cat VERSION | tr -d '\n')
OCAMLABI := $(shell ocamlc -version)
OCAMLLIBDIR := $(shell ocamlc -where)

0 comments on commit 5f090d3

Please sign in to comment.