[library-web] use full meson gnome.gtkdoc regex when checking module
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] use full meson gnome.gtkdoc regex when checking module
- Date: Sun, 14 Jan 2018 09:30:28 +0000 (UTC)
commit e578767c6208a731c6d82bd83fec92491957238a
Author: Frédéric Péters <fpeters 0d be>
Date: Sun Jan 14 10:29:53 2018 +0100
use full meson gnome.gtkdoc regex when checking module
src/lgo.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index b26d10f..af71629 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -752,7 +752,7 @@ class Lgo(App):
elif os.path.split(tarinfo.name)[-1] == 'meson.build' and not found_autotools:
fd = tar.extractfile(tarinfo)
meson_build = fd.read()
- if 'gnome.gtkdoc' in meson_build:
+ if re.findall(r"gnome.gtkdoc\s*\(\s*'([\w-]+)'", meson_build, re.DOTALL):
logging.debug('found usage of gtk-doc in %s' % tarinfo.name)
doc = GtkDocModule.create_from_tar(tar, tarinfo,
meson_build=meson_build, nightly=nightly)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]