Skip to content
This repository was archived by the owner on May 22, 2018. It is now read-only.

Commit 5f090d3

Browse files
author
Mike McClurg
committed
Add VERSION file, and read version number from it
Signed-off-by: Mike McClurg <[email protected]>
1 parent e434f0c commit 5f090d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.5

config.mk.in

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ OCAML_XS_LIB = $(OCAML_XS_DIR)/xenstore.cmxa
1313

1414
LDFLAGS = -cclib -L./
1515

16-
VERSION := 0.2
17-
VERSION ?= $(shell git show-ref --head -s origin/HEAD || echo 0)
16+
VERSION ?= $(shell cat VERSION | tr -d '\n')
1817

1918
OCAMLABI := $(shell ocamlc -version)
2019
OCAMLLIBDIR := $(shell ocamlc -where)

0 commit comments

Comments
 (0)