ICU-1010 well, only look at uversion.h, it's simpler and shouldn't change
X-SVN-Rev: 5186
This commit is contained in:
parent
7431b06d8b
commit
336857b2cc
@ -22,7 +22,7 @@ builddir_relative_srcdir = $(builddir_relative_topdir)/$(srcdir)
|
||||
# Getting the ICU version numbers, stolen from configure.in (that's okay, I
|
||||
# wrote the configure.in part anyway)
|
||||
|
||||
version := $(shell sed -n 's/^[ ]*\#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' $(srcdir)/common/unicode/uversion.h $(srcdir)/common/unicode/*.h)
|
||||
version := $(shell sed -n -e 's/^[ ]*\#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' $(srcdir)/common/unicode/uversion.h)
|
||||
libversion := $(shell echo $(version) | sed -e 's/\.//' -e 's/^\([^.]*\)$$/\1.0/')
|
||||
major := $(shell echo $(libversion) | sed 's/\..*//')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user