Permalink
Browse files

Adds quick install

  • Loading branch information...
1 parent dafbb30 commit 936432259c566366bb4143c220b17ffb49cbab7e @MiguelMadero MiguelMadero committed Sep 30, 2012
Showing with 11 additions and 3 deletions.
  1. +11 −3 Makefile
View
@@ -27,9 +27,17 @@ build:
install:
@mkdir -p $(DESTDIR)$(PREFIX)/bin && \
- mkdir -p $(DESTDIR)$(PREFIX)/lib/node_modules/geddy && \
- mkdir -p ./node_modules && \
- npm install jake utilities model barista && \
+ mkdir -p $(DESTDIR)$(PREFIX)/lib/node_modules/geddy && \
+ mkdir -p ./node_modules && \
+ npm install jake utilities model barista && \
+ cp -R ./* $(DESTDIR)$(PREFIX)/lib/node_modules/geddy/ && \
+ ln -snf ../lib/node_modules/geddy/bin/cli.js $(DESTDIR)$(PREFIX)/bin/geddy && \
+ chmod 755 $(DESTDIR)$(PREFIX)/lib/node_modules/geddy/bin/cli.js && \
+ echo 'Geddy installed.'
+
+quickinstall:
+ @mkdir -p $(DESTDIR)$(PREFIX)/bin && \
+ mkdir -p $(DESTDIR)$(PREFIX)/lib/node_modules/geddy && \
cp -R ./* $(DESTDIR)$(PREFIX)/lib/node_modules/geddy/ && \
ln -snf ../lib/node_modules/geddy/bin/cli.js $(DESTDIR)$(PREFIX)/bin/geddy && \
chmod 755 $(DESTDIR)$(PREFIX)/lib/node_modules/geddy/bin/cli.js && \

0 comments on commit 9364322

Please sign in to comment.