diff options
author | Colin Walters <walters@verbum.org> | 2010-12-16 16:49:05 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-12-16 17:24:46 -0500 |
commit | 770074761f6fe494fd435c6247371fb127b34366 (patch) | |
tree | db27645b323dc9221b77f94d61063edbdf99426f /giscanner/annotationmain.py | |
parent | ddd89cd72af0f201d9b70c60b7c89aa6ec025ae0 (diff) | |
download | gobject-introspection-770074761f6fe494fd435c6247371fb127b34366.tar.gz |
update-glib-sources: New scriptwip/glib-source-extraction
This is a bit cleaner than the old extract-*-sources.sh scripts,
and supports extracting headers too, so we can stop depending
on the installed tree.
Diffstat (limited to 'giscanner/annotationmain.py')
-rw-r--r-- | giscanner/annotationmain.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/giscanner/annotationmain.py b/giscanner/annotationmain.py index 2b45c149..8e42cba7 100644 --- a/giscanner/annotationmain.py +++ b/giscanner/annotationmain.py @@ -60,7 +60,11 @@ def annotation_main(args): ap = AnnotationParser() blocks = ap.parse(ss.get_comments()) print '/' + ('*' * 60) + '/' - print '/* THIS FILE IS GENERATED DO NOT EDIT */' + print ''' +/* GENERATED FILE - DO NOT EDIT + * See gobject-introspection/gir/extract-glib-sources to update. + */ +''' print '/' + ('*' * 60) + '/' print for block in blocks.values(): @@ -68,7 +72,7 @@ def annotation_main(args): print print print '/' + ('*' * 60) + '/' - print '/* THIS FILE IS GENERATED DO NOT EDIT */' + print '/* GENERATED FILE - DO NOT EDIT */' print '/' + ('*' * 60) + '/' return 0 |