I am building a multisite and each sub-site may have its own contrib modules.
For example: sites/all/modules/contrib/entity sites/site1/modules/contrib/views sites/site2/modules/contrib/services
I build a makefile for the shared modules:
api = 2
core = 7.x
projects[entity][] = ""
And one makefile per subsite which includes the global makefile:
includes[] = "make.yml"
projects[views][] = ""
The inclusion works properly but I can't get the modules being downloaded in different directories.
I try to run the drush make command with --contrib-destination=sites option, add defaults[projects][subdir] = all/modules/contrib in the global makefile and to specify a subdir for each sub-sites's specific module projects[views][subdir] = "sites1/modules/contrib". No luck, the modules are downloaded in sites/modules/all/modules/contrib and sites/modules/site1/modules/contrib instead.
Is there any way to get it working? I now think to add some custom code to a script to run after the drush make command to move specific modules to proper directory.
Thanks,