[jhbuild/release-team-commands] [twoninetynine] make gir regex cope with targets embedding variables (evince)



commit 79d8a19a76b16e36ef6718aadfc44b38c5a4d461
Author: Frédéric Péters <fpeters 0d be>
Date:   Sun Jun 21 01:32:30 2009 +0200

    [twoninetynine] make gir regex cope with targets embedding variables (evince)

 jhbuild/commands/twoninetynine.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/commands/twoninetynine.py b/jhbuild/commands/twoninetynine.py
index 8597ef5..87621e0 100644
--- a/jhbuild/commands/twoninetynine.py
+++ b/jhbuild/commands/twoninetynine.py
@@ -129,7 +129,7 @@ class GObjectIntrospectionSupport(Check):
                     # if there is no .gir, we may simply be in an unbuilt module,
                     # let's look up for a .gir target in the Makefile.am
                     makefile_am = file(os.path.join(base, 'Makefile.am')).read()
-                    if re.findall(r'^[A-Za-z0-9.\-]+\.gir:', makefile_am, re.MULTILINE):
+                    if re.findall(r'^[A-Za-z0-9.\-\$\(\)_]+\.gir:', makefile_am, re.MULTILINE):
                         gir_file = True
                 if pkg_config and gir_file:
                     break



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