diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-10-30 22:15:29 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-11-01 20:32:29 +0000 |
commit | 6f3842abd5dff68b6ee5f2ef48a4ebf1cbebf434 (patch) | |
tree | 1ce0e68d7ceb0ce87b5127d65862a546b7bc418c | |
parent | bf09582ab4c1cae58203f30d64222d100ffc31ab (diff) | |
download | json-glib-6f3842abd5dff68b6ee5f2ef48a4ebf1cbebf434.tar.gz |
Fix build reproducibility
Changes the comment and include to reference the file basename
instead of the full path. This ensures that the generated file is
reproducible when it is included in source packages meant for debugging.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
-rw-r--r-- | json-glib/json-enum-types.c.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/json-glib/json-enum-types.c.in b/json-glib/json-enum-types.c.in index da07c46..7b39290 100644 --- a/json-glib/json-enum-types.c.in +++ b/json-glib/json-enum-types.c.in @@ -9,8 +9,8 @@ /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ -#include "@filename@" +/* enumerations from "@basename@" */ +#include "@basename@" /*** END file-production ***/ |