I have placed drush_make in
~/.drush/
~/drush/
~/drush/commands/

drush on its own works, but it will not find drush_make no matter where I place it or how I call it. I am trying to generate a makefile from a live site but with ZERO success. I could write my own .make file but rather than do all that work only to find that drush cant find make would be more wasted time. Please advise what is not clicking in my mind that others are grasping.

As expected, drush is unaware of make or any other command from drush_make 2.3, 2.3-dev

CommentFileSizeAuthor
#4 1298086-4.patch537 bytesmikeker
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

helmo’s picture

Having a filepath like "~/.drush/drush_make/drush_make.drush.inc" should work.

When you call "drush --debug" does it then mention anything about make?
Normally it would state something like: Initializing drush commandfile: drush_make

jonhattan’s picture

IF using drush 5.x probably you need to perform drush cc drush.

helmo’s picture

Status: Active » Postponed (maintainer needs more info)
mikeker’s picture

Title: The drush command 'generate-makefile' could not be found » Drush make commands cannot be found even if source files are installed correctly
Status: Postponed (maintainer needs more info) » Needs review
FileSize
537 bytes

Generalized the title since this happens for drush make as well and it took me forever to find this issue... #2 worked like a charm!

Attached is a patch (against the 3.x branch) that adds a few lines to INSTALL.txt about this. +1 for also adding it to the project page.

jyr’s picture

I run drush cc drush, but for me not works

Any suggestions?

helmo’s picture

@jyr: What version of drush and drush make do you have. And where have you installed it?

@mikeker: thanks for the patch, please note: Drush make is moving into drush core (#1310130: Put drush make in drush core). So I doubt it will be added to 3.x, but it might in the meantime still be useful for the 2.x branch.

helmo’s picture

Status: Needs review » Closed (won't fix)

[ Powered by #1115636: Issue Macros and Templates - Drush Make]

Drush make is being merged into drush core (discussed in issue:#1310130: Put drush make in drush core)
This means that the issue queue is also moving. The Drush project has a component called 'Make' for this purpose.

We would like to take this opportunity to leave behind old/obsolete issues, allowing us to focus on a stable make command in core. E.g. one of the major tasks ahead is making more use of the Drush core code for handling downloads and decompression.

If you feel that this issue is still relevant, feel free to re-open and move it to the Drush queue.

More information will be posted on the drush_make and drush project pages.

jyr’s picture

Sorry, my guilt.

The patch is works me

mikeker’s picture

Since Drush Make is being included in Drush core, the solution above (drush cc drush) will only be needed when moving from a 5.x-dev build without Drush Make to one with Drush Make.

As per #7, this is an issue that can be left behind. Thanks for the clarification, helmo.

mikeker’s picture

Issue summary: View changes

updated problem