Original commit message from CVS:
Abstract the plugin-srcdir installation idiottest into a separate file,
and include it from the include Makefile.am, to ensure that it gets
called at the start of a make install process, not after the whole thing
has happened.