From 5a6f3121824f256afad1963957d660fb6071c4f8 Mon Sep 17 00:00:00 2001 From: Reza Tavakoli Date: Tue, 26 Jan 2016 13:57:21 +0330 Subject: [PATCH] Fixing window makefile version detection --- lib/Makefile.msvc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile.msvc b/lib/Makefile.msvc index 294e9f72..c34b6995 100644 --- a/lib/Makefile.msvc +++ b/lib/Makefile.msvc @@ -15,7 +15,7 @@ THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST)) USE_CYTHON := 1 #USE_CYTHON := 0 -_VERSION := $(shell grep AC_INIT ../configure.ac | cut -d'[' -f3 | sed -e 's/-DEV], //g') +_VERSION := $(shell grep AC_INIT ../configure.ac | cut -d'[' -f3 | sed -r -e 's/(-DEV)?], //g') _VERSION := $(subst ., ,$(_VERSION)) VER_MAJOR := $(word 1,$(_VERSION)) VER_MINOR := $(word 2,$(_VERSION))