Browse files

Update installation to use the js file directly, rather than the bash…

… script.
  • Loading branch information...
1 parent 9851ae1 commit d30d08640bc9cfaf35eff6fa9fcac1457f8b4326 @isaacs isaacs committed with mde Aug 1, 2010
Showing with 5 additions and 3 deletions.
  1. +5 −3 Makefile
View
8 Makefile
@@ -23,11 +23,13 @@ build:
@echo 'Node-Jake built.'
install:
- @mkdir -p ~/.node_libraries/node-jake; cp ./lib/jake.js ~/.node_libraries/node-jake/jake.js; cp ./bin/jake /usr/local/bin; chmod 755 /usr/local/bin/jake; echo 'Node-Jake installed.'
+ @cp ./lib/jake.js /usr/local/bin/jake && \
+ chmod 755 /usr/local/bin/jake && \
+ echo 'Node-Jake installed.'
clean:
@true
uninstall:
- @rm -fr ~/.node_libraries/node-jake; rm -f /usr/local/bin/jake; echo 'Node-Jake uninstalled.'
-
+ @rm -f /usr/local/bin/jake && \
+ echo 'Node-Jake uninstalled.'

0 comments on commit d30d086

Please sign in to comment.