From: Zac Medico Date: Sat, 21 Jun 2008 10:53:58 +0000 (-0000) Subject: Exclude calls to autoheader and makeinfo from the automake "maintainer mode" X-Git-Tag: v2.2_rc2~362 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1155a7735a273c13456876e82ac15f8ad98028a0;p=portage.git Exclude calls to autoheader and makeinfo from the automake "maintainer mode" check (filter some false positives). Thanks to Flameeyes. svn path=/main/trunk/; revision=10752 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index b3c37d60d..3741685d8 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4197,9 +4197,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"))