From 3a93ef4842f7dac3eed02e2a45091cd358162b6a Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 6 Sep 2022 15:06:01 +0100 Subject: [PATCH] enum-types: Make generated files more reproducible `@filename@` expands to the relative or absolute path to the source file, which varies between build systems and build directories. `@basename@` expands to the basename of the file, which stays constant across more build configurations. Signed-off-by: Simon McVittie --- common/flatpak-enum-types.c.template | 2 +- common/flatpak-enum-types.h.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/flatpak-enum-types.c.template b/common/flatpak-enum-types.c.template index 5ce936c7..74c70869 100644 --- a/common/flatpak-enum-types.c.template +++ b/common/flatpak-enum-types.c.template @@ -8,7 +8,7 @@ /*** END file-header ***/ /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ diff --git a/common/flatpak-enum-types.h.template b/common/flatpak-enum-types.h.template index 5b67b9c0..9b343088 100644 --- a/common/flatpak-enum-types.h.template +++ b/common/flatpak-enum-types.h.template @@ -9,7 +9,7 @@ G_BEGIN_DECLS /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/