[gtk/gtk-3-24-meson: 63/95] meson: mkenums: only write basenames in the comments
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-meson: 63/95] meson: mkenums: only write basenames in the comments
- Date: Thu, 11 Apr 2019 14:56:42 +0000 (UTC)
commit b1bc86e905b9a4ccab29cf6f72631a9ddb1a7c2e
Author: Christoph Reiter <creiter src gnome org>
Date: Sat Mar 30 08:49:11 2019 +0100
meson: mkenums: only write basenames in the comments
The autotools build uses relative filenames here while with meson
we get absolute paths. Switch to basename so we get the same result
for both and don't break reproducible builds with absolute paths
in public headers.
gdk/gdkenumtypes.h.template | 2 +-
gtk/gtktypebuiltins.h.template | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkenumtypes.h.template b/gdk/gdkenumtypes.h.template
index 0bc4a71033..d6f62480bc 100644
--- a/gdk/gdkenumtypes.h.template
+++ b/gdk/gdkenumtypes.h.template
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
diff --git a/gtk/gtktypebuiltins.h.template b/gtk/gtktypebuiltins.h.template
index 6a2c32013c..3dc9f834bf 100644
--- a/gtk/gtktypebuiltins.h.template
+++ b/gtk/gtktypebuiltins.h.template
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
/*** 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]