drush make-generate

Generate a makefile from the current Drupal site.

Drush Command

drush make-generate

Arguments

Aliases

drush generate-makefile

Options

--exclude-versions : Exclude all version numbers (default is include all version numbers) or optionally specify a list of projects to exclude from versioning
--include-versions : Include a specific list of projects, while all other projects remain unversioned in the makefile (so implies --exclude-versions)
--format : [object Object]
--source : The base URL which provides project release history in XML. Defaults to http://updates.drupal.org/release-history.
--dev : Work with development releases solely.

Examples

Generate a makefile with ALL projects versioned (should a project have a known version number)

drush generate-makefile example.make
Generate a makefile with NO projects versioned
drush generate-makefile example.make --exclude-versions
Generate a makefile with ALL projects versioned EXCEPT core, Views and CCK
drush generate-makefile example.make --exclude-versions=drupal,views,cck
Generate a makefile with NO projects versioned EXCEPT Admin Menu, OG and CTools.
drush generate-makefile example.make --include-versions=admin_menu,og,ctools (--exclude-versions)