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 <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2022-09-06 15:06:01 +01:00
committed by Alexander Larsson
parent 8a52187145
commit 3a93ef4842
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
/*** END file-header ***/
/*** BEGIN file-production ***/
/* enumerations from "@filename@" */
/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/

View File

@@ -9,7 +9,7 @@ G_BEGIN_DECLS
/*** BEGIN file-production ***/
/* enumerations from "@filename@" */
/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/