gdbus-codegen: Include a blurb about the license of the generated code
authorDavid Zeuthen <davidz@redhat.com>
Fri, 15 Apr 2011 12:48:21 +0000 (08:48 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 15 Apr 2011 12:48:21 +0000 (08:48 -0400)
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

index 3e3efef..34bd33e 100644 (file)
@@ -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'