diff tool_dependencies.xml @ 7:3961e84d6225

Add install PREFIX to make command in tool_dependencies.xml
author Jim Johnson <jj@umn.edu>
date Thu, 13 Sep 2012 14:46:50 -0500
parents f0c20796d33a
children 438677e99ef8
line wrap: on
line diff
--- a/tool_dependencies.xml	Tue Sep 11 08:55:27 2012 -0500
+++ b/tool_dependencies.xml	Thu Sep 13 14:46:50 2012 -0500
@@ -4,9 +4,10 @@
         <install version="1.0">
             <actions>
                 <action type="download_by_url">http://cdhit.googlecode.com/files/cd-hit-v4.6.1-2012-08-27.tgz</action>
-                <action type="shell_command">make openmp=yes</action>
+                <action type="shell_command">mkdir -p $INSTALL_DIR/bin/</action>
+                <action type="shell_command">make openmp=yes PREFIX=$INSTALL_DIR/bin/</action>
                 <action type="set_environment">
-                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                 </action>
             </actions>
         </install>