[jhbuild/wip/path-env] 2.99: add check for ACLOCAL_FLAGS mention



commit 4c97597d7b122de907ed65213d72e613e7ba0047
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Mar 13 11:00:50 2014 -0400

    2.99: add check for ACLOCAL_FLAGS mention
    
    Add a twoninetynine check for ACLOCAL_FLAGS appearing in Makefile.am.

 jhbuild/commands/twoninetynine.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/jhbuild/commands/twoninetynine.py b/jhbuild/commands/twoninetynine.py
index 4ed1e0e..264ec89 100644
--- a/jhbuild/commands/twoninetynine.py
+++ b/jhbuild/commands/twoninetynine.py
@@ -155,7 +155,9 @@ class GObjectIntrospectionSupport(Check):
             raise ExcludedModuleException()
         self.status = 'ok'
 
-
+class AclocalFlags(ShellCheck):
+    # no Makefile.am -> ExcludedModuleException, else 'ok' or 'todo'
+    cmd = 'test -f Makefile.am && ( grep ACLOCAL_FLAGS Makefile.am || true )'
 
 class cmd_twoninetynine(cmd_goalreport):
     doc = _('Report GNOME modules status wrt 3.0 goals')
@@ -164,7 +166,7 @@ class cmd_twoninetynine(cmd_goalreport):
     checks = [LibBonobo, LibGnome, LibGnomeUi, LibGnomeCanvas, LibArtLgpl,
               LibGnomeVfs, LibGnomePrint, Esound, Orbit, LibGlade, GConf,
               GlibDeprecatedSymbols, GtkDeprecatedSymbols,
-              GObjectIntrospectionSupport]
+              GObjectIntrospectionSupport, AclocalFlags]
     title = '2.99'
     
     page_intro = '''


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