From 1f722f5c800b1e422ffa480710d7af7c1e7dc0c4 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 22 Jan 2020 21:03:30 +0100 Subject: build: replace version with soversion This allows us to have a single number to update when doing a release. This drops WLR_VERSION_API_* definitions. --- include/wlr/meson.build | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/meson.build b/include/wlr/meson.build index 032c08d2..4e79d068 100644 --- a/include/wlr/meson.build +++ b/include/wlr/meson.build @@ -1,12 +1,9 @@ version_array = meson.project_version().split('.') version_data = configuration_data() -version_data.set_quoted('WLR_VERSION_STR', meson.project_version()) -version_data.set('WLR_VERSION_MAJOR', version_array[0]) -version_data.set('WLR_VERSION_MINOR', version_array[1]) -version_data.set('WLR_VERSION_MICRO', version_array[2]) -version_data.set('WLR_VERSION_API_CURRENT', so_version[0]) -version_data.set('WLR_VERSION_API_REVISION', so_version[1]) -version_data.set('WLR_VERSION_API_AGE', so_version[2]) +version_data.set_quoted('WLR_VERSION_STR', meson.project_version()) +version_data.set('WLR_VERSION_MAJOR', version_array[0]) +version_data.set('WLR_VERSION_MINOR', version_array[1]) +version_data.set('WLR_VERSION_MICRO', version_array[2]) conf_h = configure_file( input: 'config.h.in', -- cgit v1.2.3