<p>In <a href="https://github.com/geany/geany-plugins/pull/277#discussion_r46148966">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>This is not acceptable, <code>make check</code> has to behave the same everywhere -- and especially, it has to run the checks when called from the top-level as it used to, so it's run by e.g. <code>make distcheck</code>.  AFAICS, it doesn't.</p>

<p>I guess a possible solution would be to "simply" populate a variable like i.e. <code>CPPCHECK_DIRS</code> and have that in the top-level Makefile's cppcheck rule instead of <code>$(srcdir)</code> or something.</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#r46148966">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ8ThKn47ehDTBf_xQDyf6rJK6sZBks5pLFWhgaJpZM4Fg-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#r46148966"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>