secret-enum-types.c/h.template: Fix reproducibility issue

When full filenames are used in generated sources it makes the resulting
debug packages non-reproducible. Best practise is to use basename instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2021-02-25 22:10:48 +00:00 committed by Daiki Ueno
parent d5b2f0426d
commit b7d4f8cb36
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -27,7 +27,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 ***/