From da11f7ccbe79705e127afbaa62913b32715b33e1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 12 Sep 2022 17:45:15 +0300 Subject: Rename version file to version.txt --- makefile | 4 ++-- odb/oracle/makefile | 2 +- version | 1 - version.txt | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 version create mode 100644 version.txt diff --git a/makefile b/makefile index b22b1bf..d771a39 100644 --- a/makefile +++ b/makefile @@ -12,12 +12,12 @@ clean := $(out_base)/.clean $(default): $(addprefix $(out_base)/,$(addsuffix /,$(dirs))) $(dist): export dirs := $(dirs) -$(dist): export docs := LICENSE NCUEL README NEWS version +$(dist): export docs := LICENSE NCUEL README NEWS version.txt $(dist): data_dist := INSTALL libodb-oracle-vc8.sln libodb-oracle-vc9.sln \ libodb-oracle-vc10.sln libodb-oracle-vc11.sln libodb-oracle-vc12.sln $(dist): exec_dist := bootstrap $(dist): export extra_dist := $(data_dist) $(exec_dist) -$(dist): export version = $(shell cat $(src_root)/version) +$(dist): export version = $(shell cat $(src_root)/version.txt) $(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(dirs))) $(call dist-data,$(docs) $(data_dist) libodb-oracle.pc.in) diff --git a/odb/oracle/makefile b/odb/oracle/makefile index a2ad29a..d4698b0 100644 --- a/odb/oracle/makefile +++ b/odb/oracle/makefile @@ -110,7 +110,7 @@ libodb-oracle-vc10.vcxproj libodb-oracle-vc10.vcxproj.filters \ libodb-oracle-vc11.vcxproj libodb-oracle-vc11.vcxproj.filters \ libodb-oracle-vc12.vcxproj libodb-oracle-vc12.vcxproj.filters $(dist): export interface_version = $(shell sed -e \ -'s/^\([0-9]*\.[0-9]*\).*/\1/' $(src_root)/version) +'s/^\([0-9]*\.[0-9]*\).*/\1/' $(src_root)/version.txt) $(dist): $(gen) $(call dist-data,$(sources_dist) $(headers_dist) $(data_dist)) diff --git a/version b/version deleted file mode 100644 index cd2d927..0000000 --- a/version +++ /dev/null @@ -1 +0,0 @@ -2.5.0-b.24 diff --git a/version.txt b/version.txt new file mode 100644 index 0000000..cd2d927 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +2.5.0-b.24 -- cgit v1.1