From 8ed88225f5f9c04ddf24361efab20a4daf910d29 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 17 Aug 2008 19:18:17 +0000 Subject: Exclude calls to autoheader and makeinfo from the automake "maintainer mode" check (filter some false positives). Thanks to Flameeyes. (trunk r10752) svn path=/main/branches/2.1.2/; revision=11424 --- pym/portage.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index dc0acecba..39d822612 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4210,9 +4210,12 @@ def spawnebuild(mydo,actionmap,mysettings,debug,alwaysdep=0,logfile=None): configure_opts_warn_re = re.compile( r'^configure: WARNING: Unrecognized options: .*') am_maintainer_mode_re = re.compile(r'.*/missing --run .*') + am_maintainer_mode_exclude_re = \ + re.compile(r'.*/missing --run (autoheader|makeinfo)') try: for line in f: - if am_maintainer_mode_re.search(line) is not None: + if am_maintainer_mode_re.search(line) is not None and \ + am_maintainer_mode_exclude_re.search(line) is None: am_maintainer_mode.append(line.rstrip("\n")) if configure_opts_warn_re.match(line) is not None: configure_opts_warn.append(line.rstrip("\n")) -- cgit v1.2.3-1-g7c22