[gtksourceview/wip/gsv-4: 3/4] build: s/GSV_MAJOR_API_VERSION/GSV_API_VERSION/
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/gsv-4: 3/4] build: s/GSV_MAJOR_API_VERSION/GSV_API_VERSION/
- Date: Fri, 4 Nov 2016 18:07:55 +0000 (UTC)
commit a39304c225320ae3491bc0db78dc8f4e545237c0
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Nov 4 18:54:31 2016 +0100
build: s/GSV_MAJOR_API_VERSION/GSV_API_VERSION/
Both variables have now the same value.
configure.ac | 2 --
docs/reference/gtksourceview-docs.xml.in | 2 +-
docs/reference/intro.xml.in | 6 +++---
docs/reference/lang-reference.xml.in | 2 +-
4 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2f781f8..eef5fa7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,9 +55,7 @@ AC_SUBST(GSV_LT_VERSION)
# 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=4
-GSV_MAJOR_API_VERSION=4
AC_SUBST(GSV_API_VERSION)
-AC_SUBST(GSV_MAJOR_API_VERSION)
# Dependencies
glib_req=2.48
diff --git a/docs/reference/gtksourceview-docs.xml.in b/docs/reference/gtksourceview-docs.xml.in
index 61ce9c4..943243a 100644
--- a/docs/reference/gtksourceview-docs.xml.in
+++ b/docs/reference/gtksourceview-docs.xml.in
@@ -8,7 +8,7 @@
]>
<book id="index">
<bookinfo>
- <title>GtkSourceView @GSV_MAJOR_API_VERSION@ Reference Manual</title>
+ <title>GtkSourceView @GSV_API_VERSION@ Reference Manual</title>
<releaseinfo>for GtkSourceView &package_version;</releaseinfo>
</bookinfo>
diff --git a/docs/reference/intro.xml.in b/docs/reference/intro.xml.in
index d95c995..e2c0e14 100644
--- a/docs/reference/intro.xml.in
+++ b/docs/reference/intro.xml.in
@@ -22,17 +22,17 @@
</para>
<para>
- GtkSourceView @GSV_MAJOR_API_VERSION@ depends on GTK+ 3.
+ GtkSourceView @GSV_API_VERSION@ depends on GTK+ 3.
</para>
<refsect1>
<title>pkg-config name</title>
<para>
- For GtkSourceView @GSV_MAJOR_API_VERSION@, the pkg-config name is:
+ For GtkSourceView @GSV_API_VERSION@, the pkg-config name is:
<code>gtksourceview-@GSV_API_VERSION@</code>
</para>
<para>
- To compile a program that uses GtkSourceView @GSV_MAJOR_API_VERSION@, you
+ To compile a program that uses GtkSourceView @GSV_API_VERSION@, you
can for example use the following command:
</para>
<para>
diff --git a/docs/reference/lang-reference.xml.in b/docs/reference/lang-reference.xml.in
index 0ebed49..be8fa89 100644
--- a/docs/reference/lang-reference.xml.in
+++ b/docs/reference/lang-reference.xml.in
@@ -44,7 +44,7 @@ The preinstalled language files are located in
<filename>${PREFIX}/share/gtksourceview-@GSV_API_VERSION@/language-specs/</filename>. Custom
user languages are usually placed in
<filename>~/.local/share/gtksourceview-@GSV_API_VERSION@/language-specs/</filename>. Note:
-replace @GSV_MAJOR_API_VERSION@ with 2 in the path for GtkSourceView version 2.
+replace @GSV_API_VERSION@ with 2 in the path for GtkSourceView version 2.
</para>
</refsect1>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]