Adopted a setup to build module distributions for the package opminer.