I'm trying to build a site using two makefiles, similar to Adrian's example found here. The first makefile includes core and an installation profile. The second makefile includes modules and themes that should go inside the installation profile.
I'm depending on drush make to recursively find the makefile in my installation profile and execute it, but it's not working.
Here is the makefile for my site, which I actually invoke using a drush make command on the command line:
core = 6.x
api = 2
; CORE
projects[] = drupal
; The Bloomingmoms installation profile. It includes a makefile that
; specifies code specific to bloomingmoms.com
projects[bloomingmoms][type] = "profile"
projects[bloomingmoms][download][type] = "git"
projects[bloomingmoms][download][url] = "git://cnf.repositoryhosting.com/cnf/bloomingmoms-install-profile.git"
Inside the bloomingmoms profile, I have another makefile called "bmoms.make". Here is that makefile:
; This makefile specifies code that is particular to this website.
core = 6.x
api = 2
; Testing
projects[node_export][subdir] = "contrib"
projects[node_export][version] = 2.21
; Modules
; custom
projects[bmoms][type] = "module"
projects[bmoms][download][type] = "git"
projects[bmoms][download][url] = "git://cnf.repositoryhosting.com/cnf/bmoms.git"
projects[bmoms][subdir] = "custom"
projects[comment_notify][subdir] = "contrib"
projects[comment_notify][version] = 1.5
projects[fb_social][subdir] = "contrib"
projects[fb_social][version] = 1.0-beta4
; Themes
projects[bloomingmoms][type] = "theme"
projects[bloomingmoms][subdir] = "custom"
projects[bloomingmoms][download][type] = "svn"
projects[bloomingmoms][download][url] = "http://cnf.repositoryhosting.com/svn_public/cnf_bloomingmoms-theme/head/bloomingmoms"
I can't get the bmoms.make file to work. I don't get any errors, so I simply have no idea what I'm doing wrong. It's like drush make doesn't see it there at all. What am I missing?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | drush_make_instructions.patch | 796 bytes | ldweeks |
Comments
Comment #1
ldweeks commentedI figured it out. The makefile must have the same name as the project for drush_make to find it. I have included a patch to the instructions to make this clear.
Thanks for your work!
Comment #2
dmitrig01 commentedthanks
Comment #3
whatdoesitwant commentedThanks for the clarification! Spotted a typo (recorgnize should be recognize).
Comment #4
dmitrig01 commentedYes, I believe I fixed that in CVS.