<p>In <a href="https://github.com/geany/geany-plugins/pull/277#discussion_r46167175">addons/src/Makefile.am</a>:</p>
<pre style='color:#555'>> -    ao_wrapwords.h \
> -  ao_copyfilepath.h \
> -  addons.c \
> -  ao_blanklines.c \
> -  ao_doclist.c \
> -  ao_openuri.c \
> -  ao_systray.c \
> -  ao_bookmarklist.c \
> -  ao_markword.c \
> -  ao_tasks.c \
> -  ao_xmltagging.c \
> -  ao_wrapwords.c \
> -  ao_copyfilepath.c
> -
> -addons_la_LIBADD = $(COMMONLIBS)
> -
>  include $(top_srcdir)/build/cppcheck.mk
</pre>
<p>No, I mean that <code>make check</code> (from the top-level) should have the same behavior as running <code>make check</code> from each sub-directory.  As <em>build/cppcheck.mk</em> adds rules to be executed upon <code>make check</code>, and that this is only included in the recursive Makefile, these checks will only be run when running <code>make check</code> from the sub-directories and never from the top-level.</p>

<p>Before these changes, <code>make check</code> was recursive (like most common targets, like <em>all</em>), and so running it from the top-level ran checks in the whole tree.  Now, <code>cppcheck</code> checks are missing from all plugins you converted to non-recursiveness when invoked non-recursively.</p>

<p>You can probably understand quite easily by giving a look at <em>build/cppcheck.mk</em>, knowing that <code>check-local</code> is a dependency of the <code>check</code> target.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany-plugins/pull/277/files#r46167175">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ8FVcXyccpc-1z0w_NUxTeQcAUqzks5pLHL5gaJpZM4Fg-b2.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/pull/277/files#r46167175"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>