[glib/gdbus-codegen] gdbus-codegen: Include a blurb about the license of the generated code



commit 98e6d4b0a934b9fd67a38121958fccec879bf1ac
Author: David Zeuthen <davidz redhat com>
Date:   Fri Apr 15 08:48:21 2011 -0400

    gdbus-codegen: Include a blurb about the license of the generated code
    
    More precisely, include this line
    
     The license of this code is the same as for the source it was derived from.
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 gio/gdbus-codegen/codegen.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdbus-codegen/codegen.py b/gio/gdbus-codegen/codegen.py
index 3e3efef..34bd33e 100644
--- a/gio/gdbus-codegen/codegen.py
+++ b/gio/gdbus-codegen/codegen.py
@@ -52,6 +52,8 @@ class CodeGenerator:
     def generate_intro(self):
         self.c.write('/*\n'
                      ' * Generated by gdbus-codegen %s. DO NOT EDIT.\n'
+                     ' *\n'
+                     ' * The license of this code is the same as for the source it was derived from.\n'
                      ' */\n'
                      '\n'
                      %(config.VERSION))
@@ -191,6 +193,8 @@ class CodeGenerator:
 
         self.h.write('/*\n'
                      ' * Generated by gdbus-codegen %s. DO NOT EDIT.\n'
+                     ' *\n'
+                     ' * The license of this code is the same as for the source it was derived from.\n'
                      ' */\n'
                      '\n'
                      '#ifndef __%s__\n'



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