Title: #213: Build system refactoring phase 3
The patch has some minor creases but works. Let's merge it to master and iron
out the remaining small issues with PRs.
See the full comment at
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code