[json-glib/reproducible-template] Fix build reproducibility




commit 6f3842abd5dff68b6ee5f2ef48a4ebf1cbebf434
Author: Alexander Kanavin <alex kanavin gmail com>
Date:   Fri Oct 30 22:15:29 2020 +0000

    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>

 json-glib/json-enum-types.c.in | 4 ++--
 1 file 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 ***/
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]