Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adds quick install

  • Loading branch information...
commit 936432259c566366bb4143c220b17ffb49cbab7e 1 parent dafbb30
@MiguelMadero MiguelMadero authored
Showing with 11 additions and 3 deletions.
  1. +11 −3 Makefile
View
14 Makefile
@@ -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 && \
Please sign in to comment.
Something went wrong with that request. Please try again.