In src/plugins/contrib/Makefile.am when multiple plugins are enabled then the resulting SUBDIRS variable will include multiple appdata directory entries, which will slow the build down.
Instead of having the block for each appropriate plugin:
if BUILD_CPPCHECK
MAYBE_CPPCHECK=CppCheck appdata
endif
Change each of the plugin blocks to be:
if BUILD_CPPCHECK
MAYBE_CPPCHECK=CppCheck
MAYBE_APPDATA=appdata
endif
and also add $(MAYBE_APPDATA) to SUBDIRS
This way only one appdata will be added to SUBDIRS instead of multiple.
Is this okay?