Finally found way to create fully automated build system based on the content of the directories.