summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJames Vasile <james@jamesvasile.com>2013-02-05 15:10:13 -0500
committerJames Vasile <james@jamesvasile.com>2013-02-05 15:10:13 -0500
commit028ab7fcfb7778861d0851bca307572b5cb33599 (patch)
treedc4b41e01cbfc1c3623fc83e49b5c88552287816 /Makefile
parentd0e0285892527439a4d399f65bb9ed5a83268fe4 (diff)
combine build and vendor dirs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 72d9169..05a2269 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
#SHELL := /bin/bash
MAKE=make
-BUILD_DIR = build
+BUILD_DIR = vendor
#TODO: add install target
@@ -21,10 +21,13 @@ predepend:
touch predepend
$(BUILD_DIR)/exmachina: build
- git clone git://github.com/tomgalloway/exmachina $(BUILD_DIR)/exmachina
+ test -d $(BUILD_DIR)/exmachina || git clone git://github.com/tomgalloway/exmachina $(BUILD_DIR)/exmachina
+ cd $(BUILD_DIR)/exmachina; git pull
$(BUILD_DIR)/bjsonrpc: build
- git clone git://github.com/deavid/bjsonrpc.git $(BUILD_DIR)/bjsonrpc
+ test -d $(BUILD_DIR)/bjsonrpc || git clone git://github.com/deavid/bjsonrpc.git $(BUILD_DIR)/bjsonrpc
+ cd $(BUILD_DIR)/bjsonrpc; git pull
+
dbs: data/users.sqlite3