Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Can you elaborate on how you setup your system, and set drush_make to be included? I have drush in /var/www/drush - and create a symbolic link in /usr/bin/
Amitaibu - you can put drush command files into various places in your system. The most common way is to create a .drush folder in your home dir and then put the whole drush_make folder under there. After that, the 'make' command will be visible in the drush help and executable for your making needs.
Heh, you're right, thanks! I always look for a README.TXT file for module installation guide and instructions.
I checked out 30 standard modules, and 7 of them actually had an INSTALL.TXT file -- you learn something new every day 8o)
The suggested solution of putting drush_make in ~/.drush makes it available for the current user only.
If you want to offer drush_make to all your machine's users, unzip the module into /usr/share/drush/commands. This is also suggested in drush's README.txt.
If number 12 works, it would be great if it could be added into the INSTALL.txt file - currently it only says:
You can put this folder in a number of places:
- In a .drush folder in your HOME folder. Note, that you have to make the
.drush folder yourself (so you end up with ~/.drush/drush_make/INSTALL.txt).
- In a folder specified with the include option (see above).
- In /path/to/drush/commands (not a Smart Thing, but it would work).
I've re-opened this as I think it would be helpful for the INSTALL.txt to be as complete as possible.
If you want to offer drush_make to all your machine's users, unzip the module into /usr/share/drush/commands. This is also suggested in drush's README.txt.
Bingo! Thank you @organicwire, this worked. For anyone interested, this worked for me in a shared (Hostgator VPS) environment running CentOS 5.5, and Drush installed via the PEAR channel.
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.
Comments
Comment #1
yhahn commentedI've installed drush make in my user's includes dir, which is
~/.drush.Comment #2
yhahn commentedSetting this to fixed, pls reopen if you need more help.
Comment #4
amitaibu@yhahn,
Can you elaborate on how you setup your system, and set drush_make to be included? I have drush in /var/www/drush - and create a symbolic link in /usr/bin/
Comment #5
moshe weitzman commentedAmitaibu - you can put drush command files into various places in your system. The most common way is to create a .drush folder in your home dir and then put the whole drush_make folder under there. After that, the 'make' command will be visible in the drush help and executable for your making needs.
Comment #7
R-H commentedSorry, but I don't know what you mean by home directory?
I have drush in
./opt/drush
and a symbolic link in
./usr/local/bin/drush
Thanks
Comment #8
amitaibuYou can place it in
~/.drush/drush_make--~will be replaced with your HOME directory.Comment #9
ressaI think the installation instructions should be included in the README.TXT file.
Comment #10
yhahn commentedThere is an INSTALL.txt with instructions.
Comment #11
ressaHeh, you're right, thanks! I always look for a README.TXT file for module installation guide and instructions.
I checked out 30 standard modules, and 7 of them actually had an INSTALL.TXT file -- you learn something new every day 8o)
Comment #12
organicwire commentedThe suggested solution of putting drush_make in
~/.drushmakes it available for the current user only.If you want to offer drush_make to all your machine's users, unzip the module into
/usr/share/drush/commands. This is also suggested in drush's README.txt.Comment #13
alexgreyhead commentedIf number 12 works, it would be great if it could be added into the INSTALL.txt file - currently it only says:
I've re-opened this as I think it would be helpful for the INSTALL.txt to be as complete as possible.
/Alex
Comment #14
ratul.dasgupta commentedThe install.txt and the README.txt links do not work!
Comment #15
paskainos commentedBingo! Thank you @organicwire, this worked. For anyone interested, this worked for me in a shared (Hostgator VPS) environment running CentOS 5.5, and Drush installed via the PEAR channel.
Comment #16
paskainos commented@ratul.dasgupta: remove
_plainfrom the file path (url) and the links will work:INSTALL.txt
README.txt
Comment #17
helmo commented[ 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.