I would like to have the profile install the modules I list in my profile .make to sites/all/modules/contrib instead of in the profile directory profiles/my_sweet_profile/modules/contrib is there any way to do this without having to use a script to copy the modules, and then rebuilding the drupal registry?

I have read this DA post, but the answers contained pertain to the more canonized distribution profiles (OpenAtrium). I am not going to be rerunning this installation profile on the same site, so there is no need for me to preserve the initial structure.



You can get an example in Videola profile: https://github.com/Videola/videola/blob/master/videola_starter.make - main make file which downloads only profile from github.

Then see main make file with all the modules: https://github.com/Videola/videola/blob/master/videola.make which shows you an example of what you want to do.

projects[admin][subdir] = "contrib"
|improve this answer|||||
  • This path is relative to the install profile, so it still installs modules in /profiles/my_profile/modules/contrib. What I am looking for is a way to install the modules in sites/all/modules – Nick Tomlin Jun 7 '13 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.