[glib/issue-1783: 1269/1273] Ensure that we use @basename@ in the glib-mkenums docs
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/issue-1783: 1269/1273] Ensure that we use @basename@ in the glib-mkenums docs
- Date: Mon, 24 Feb 2020 15:10:03 +0000 (UTC)
commit 15a4cf4d3fdf4f824d50b9250a6129756f294298
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue May 21 18:08:02 2019 +0100
Ensure that we use @basename@ in the glib-mkenums docs
The documentation for @filename@ is not accurate either.
docs/reference/gobject/glib-mkenums.xml | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/gobject/glib-mkenums.xml b/docs/reference/gobject/glib-mkenums.xml
index 4c8641657..6017001f2 100644
--- a/docs/reference/gobject/glib-mkenums.xml
+++ b/docs/reference/gobject/glib-mkenums.xml
@@ -153,15 +153,16 @@ The same as <literal>@type@</literal> with all letters uppercased (e.g. <literal
<varlistentry>
<term><literal>@filename@</literal></term>
<listitem><para>
-The name of the input file currently being processed (e.g. <literal>foo.h</literal>).
+The full path of the input file currently being processed (e.g.
<literal>/build/environment/project/src/foo.h</literal>).
</para></listitem>
</varlistentry>
<varlistentry>
<term><literal>@basename@</literal></term>
<listitem><para>
-The base name of the input file currently being processed (e.g. <literal>foo.h</literal>). Typically
-you want to use <literal>@basename@</literal> in place of <literal>@filename@</literal> in your templates,
to improve the reproducibility of the build. (Since: 2.22)
+The base name of the input file currently being processed (e.g. <literal>foo.h</literal>).
+Typically you want to use <literal>@basename@</literal> in place of <literal>@filename@</literal>
+in your templates, to improve the reproducibility of the build. (Since: 2.22)
</para></listitem>
</varlistentry>
</variablelist>
@@ -448,7 +449,7 @@ G_BEGIN_DECLS
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
@@ -473,7 +474,7 @@ file, similar to this:
/*** END file-header ***/
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]