Index: drush_make.generate.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush_make/Attic/drush_make.generate.inc,v
retrieving revision 1.1.2.6
diff -u -p -b -r1.1.2.6 drush_make.generate.inc
--- drush_make.generate.inc	29 Nov 2009 21:51:12 -0000	1.1.2.6
+++ drush_make.generate.inc	30 Mar 2010 05:03:36 -0000
@@ -32,6 +32,7 @@ function _drush_generate_makefile($file)
   if (function_exists('system_theme_data')) {
     system_theme_data();
   }
+  drush_include_engine('drupal', 'environment');
   $modules = drush_get_modules();
   $themes = _system_theme_data();
   foreach (array('module', 'theme') as $type) {
