[library-web] avoid new vala false positive when looking for gtk-doc



commit d4c18862bbe7bc83f9e150528244480a1c69e3ac
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat Jul 22 20:07:41 2017 +0200

    avoid new vala false positive when looking for gtk-doc

 src/lgo.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index e7d583f..f6c1a9c 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -728,7 +728,9 @@ class Lgo(App):
                 elif 'include $(top_srcdir)/gtk-doc.make' in makefile_am or \
                         'include $(srcdir)/gtk-doc.make' in makefile_am or \
                         'include gtk-doc.make' in makefile_am or \
-                        ('gtkdoc-scan' in makefile_am and not 'gtk-doc' in tarinfo.name):
+                        ('gtkdoc-scan' in makefile_am and not (
+                            'gtk-doc' in tarinfo.name
+                            or 'gtkdoc-scanner.vala' in makefile_am)):
                     logging.debug('found usage of gtk-doc in %s' % tarinfo.name)
                     doc = GtkDocModule.create_from_tar(tar, tarinfo, makefile_am, nightly)
                 elif 'SUBDIRS = C' in makefile_am and \


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