From 3ad531a5413d2c75fcfbf80f3d405e3a2c420a33 Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 28 Nov 2024 12:48:56 +0100 Subject: [PATCH] Commit the version.h --- .gitignore | 1 - include/sdb/version.h | 1 + meson.build | 9 --------- 3 files changed, 1 insertion(+), 10 deletions(-) create mode 100644 include/sdb/version.h diff --git a/.gitignore b/.gitignore index e7fd682d..ff1718a9 100644 --- a/.gitignore +++ b/.gitignore @@ -47,7 +47,6 @@ src/libsdb.so* src/libsdb.dylib src/sdb src/sdb_version.h -include/sdb/version.h memcache/cmds memcache/cmds.h memcache/mcsdbc diff --git a/include/sdb/version.h b/include/sdb/version.h new file mode 100644 index 00000000..892f1c4e --- /dev/null +++ b/include/sdb/version.h @@ -0,0 +1 @@ +#define SDB_VERSION "2.0.1" diff --git a/meson.build b/meson.build index 996e6297..2f5b2a29 100644 --- a/meson.build +++ b/meson.build @@ -32,15 +32,6 @@ else libsdb_name = 'sdb' endif -# Create include/sdb/version.h -conf_data = configuration_data() -conf_data.set_quoted('SDB_VERSION', sdb_version, description : 'From config.mk') -configure_file( - output : 'version.h', - configuration : conf_data, - install_dir : join_paths(get_option('includedir'), 'sdb') -) - libsdb_sources = [ 'src/array.c', 'src/set.c',