[gtk/gtk-3-24-meson: 59/89] meson: mkenums: only write basenames in the comments
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-meson: 59/89] meson: mkenums: only write basenames in the comments
- Date: Wed, 10 Apr 2019 08:25:08 +0000 (UTC)
commit 9930b2523e97652fb66983da76b0d2b98b258de4
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]