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?

CommentFileSizeAuthor
#1 drush_make_instructions.patch796 bytesldweeks

Comments

ldweeks’s picture

Status: Active » Needs review
StatusFileSize
new796 bytes

I 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!

dmitrig01’s picture

Status: Needs review » Fixed

thanks

whatdoesitwant’s picture

Thanks for the clarification! Spotted a typo (recorgnize should be recognize).

dmitrig01’s picture

Yes, I believe I fixed that in CVS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.