[gtksourceview/wip/api-version] build: document why the API version is not used for the main source code



commit cc6018dc680b76bc2f056d49e494461c400819ba
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Oct 19 18:46:35 2016 +0200

    build: document why the API version is not used for the main source code

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3f249df..e7a9d47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,6 +52,10 @@ AC_SUBST(GSV_LT_VERSION)
 # Not used in:
 # - po/Makevars
 # - the docs/reference/gtksourceview-3.0-sections.txt filename
+# - the gtksourceview/ directory and sub-directories, because make variables
+#   need to be transformed (3.0 -> 3_0), and it doesn't work if two different
+#   variables are used (it must be the same variable). With GSV_API_VERSION
+#   defined to a single digit (4 instead of 4.0), then it would work.
 # Because as far as I've tested, it is not easily feasible to not hardcode the
 # API version in those places (swilmet).
 GSV_API_VERSION=3.0


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