diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-09-12 16:24:48 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-09-12 16:25:15 +0300 |
commit | 0f0b81f52cbcf8b8d2281d0f5931c8b5db5cf4f0 (patch) | |
tree | 426c17926655c3a6a4bfd1024d0c2c3174c77108 | |
parent | 450142b60df41a56459b40f6980905f96a3ba34d (diff) |
Rename version file to version.txt
-rw-r--r-- | makefile | 4 | ||||
-rw-r--r-- | odb/mssql/makefile | 2 | ||||
-rw-r--r-- | version.txt (renamed from version) | 0 |
3 files changed, 3 insertions, 3 deletions
@@ -12,12 +12,12 @@ clean := $(out_base)/.clean $(default): $(addprefix $(out_base)/,$(addsuffix /,$(dirs))) $(dist): export dirs := $(dirs) -$(dist): export docs := NCUEL LICENSE README NEWS version +$(dist): export docs := NCUEL LICENSE README NEWS version.txt $(dist): data_dist := INSTALL libodb-mssql-vc8.sln libodb-mssql-vc9.sln \ libodb-mssql-vc10.sln libodb-mssql-vc11.sln libodb-mssql-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-mssql.pc.in) diff --git a/odb/mssql/makefile b/odb/mssql/makefile index 08923d5..8cf46a8 100644 --- a/odb/mssql/makefile +++ b/odb/mssql/makefile @@ -108,7 +108,7 @@ libodb-mssql-vc10.vcxproj libodb-mssql-vc10.vcxproj.filters \ libodb-mssql-vc11.vcxproj libodb-mssql-vc11.vcxproj.filters \ libodb-mssql-vc12.vcxproj libodb-mssql-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)) |