From 0700ddb5cbe6b1ea2f5abe765ce498445f359e30 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 9 Sep 2022 16:10:14 +0300 Subject: Rename version file to version.txt --- makefile | 4 ++-- odb/sqlite/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 3a42f20..f28752a 100644 --- a/makefile +++ b/makefile @@ -12,13 +12,13 @@ clean := $(out_base)/.clean $(default): $(addprefix $(out_base)/,$(addsuffix /,$(dirs))) $(dist): export dirs := $(dirs) -$(dist): export docs := GPLv2 LICENSE README NEWS version +$(dist): export docs := GPLv2 LICENSE README NEWS version.txt $(dist): data_dist := INSTALL libodb-sqlite-vc8.sln libodb-sqlite-vc9.sln \ libodb-sqlite-vc10.sln libodb-sqlite-vc11.sln libodb-sqlite-vc12.sln \ $(subst $(src_base)/,,$(shell find $(src_base)/etc -type f)) $(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-sqlite.pc.in) diff --git a/odb/sqlite/makefile b/odb/sqlite/makefile index cead138..485b9ec 100644 --- a/odb/sqlite/makefile +++ b/odb/sqlite/makefile @@ -111,7 +111,7 @@ libodb-sqlite-vc10.vcxproj libodb-sqlite-vc10.vcxproj.filters \ libodb-sqlite-vc11.vcxproj libodb-sqlite-vc11.vcxproj.filters \ libodb-sqlite-vc12.vcxproj libodb-sqlite-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