[gtk-doc/bochecha/version-split] meson: Stop splitting the version into major, minor and macro



commit b21645edf40f4f7f39aab39c8f89d1b08c41735d
Author: Mathieu Bridon <bochecha daitauha fr>
Date:   Fri Sep 14 09:01:03 2018 +0200

    meson: Stop splitting the version into major, minor and macro
    
    This is completely unused and therefore unnecessary.
    
    Fixes #56

 meson.build | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index c45a867..4b0fd75 100644
--- a/meson.build
+++ b/meson.build
@@ -7,13 +7,7 @@ project('gtk-doc', 'c',
 gnome = import('gnome')
 python = import('python3')
 
-# Versioning
 version = meson.project_version()
-version_arr = version.split('.')
-version_major = version_arr[0].to_int()
-version_minor = version_arr[1].to_int()
-version_micro = version_arr[2].to_int()
-
 package_name = meson.project_name()
 
 # Paths


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]