From 336857b2ccd14f26395693c1e5ba5ffbab1d4b5d Mon Sep 17 00:00:00 2001 From: Yves Arrouye Date: Thu, 5 Jul 2001 23:14:14 +0000 Subject: [PATCH] ICU-1010 well, only look at uversion.h, it's simpler and shouldn't change X-SVN-Rev: 5186 --- icu4c/debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/debian/rules b/icu4c/debian/rules index 99cc7892d5..e9ffcd9edf 100755 --- a/icu4c/debian/rules +++ b/icu4c/debian/rules @@ -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/\..*//')