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.
This commit is contained in:
Christoph Reiter 2019-03-30 08:49:11 +01:00
parent 59055fd9f7
commit b1bc86e905
2 changed files with 2 additions and 2 deletions

View File

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

View File

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