I'm trying to generate a drush make script for COD that pulls in all dependencies, applies necessary patches and grabs cod.profile from CVS and places it in /profiles/cod.
We've got http://drupalcode.org/viewvc/drupal/contributions/profiles/cod/cod-dev.m... , but adding
projects[cod][type] = profile
projects[cod][download][type] = cvs
projects[cod][download][module] = "contributions/profiles/cod/"
projects[cod][download][revision] = "DRUPAL-6--1"
of course downloads the drupal.org-packaged cod, complete with all contrib projects, resulting in duplicate contrib modules in /profiles/cod/modules/contrib and sites/all/modules/contrib .
I notice that drush make detects the modules in the .profile (which is awesome).
How can I write a make file to include the patches and .profile without duplicating contribs?
Thanks!
Comments
Comment #1
dmitrig01 commentedcod.make should have what cod-dev has except for projects[] = drupal. Then you just need a meta-makefile like this:
That won't download the d.o version, it'll download just the stuff from CVS, but it'll see that in CVS there exists the cod.make, and it will recurse to make that, putting stuff in profiles/cod/(modules|themes)