mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Added predepend packages and updated python path for build folders.
This commit is contained in:
1 parent
fed5bd13f1
commit
b2c157ec1d
4 files changed
+25
-5
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#SHELL := /bin/bash
|
||||
MAKE=make
|
||||
BUILD_DIR = build
|
||||
|
||||
#TODO: add install target
|
||||
|
||||
@@ -9,9 +10,22 @@ COMPRESSED_CSS := $(patsubst %.css,%.tiny.css,$(CSS))
|
||||
PWD=`pwd`
|
||||
|
||||
## Catch-all tagets
|
||||
default: cfg cherrypy.config dirs template css docs dbs
|
||||
default: predepend cfg cherrypy.config dirs template css docs dbs $(BUILD_DIR)/exmachina $(BUILD_DIR)/bjsonrpc
|
||||
all: default
|
||||
|
||||
build:
|
||||
mkdir -p $(BUILD_DIR)
|
||||
|
||||
predepend:
|
||||
sudo sh -c "apt-get install augeas-tools python-bjsonrpc python-augeas python-simplejson"
|
||||
touch predepend
|
||||
|
||||
$(BUILD_DIR)/exmachina: build
|
||||
git clone git://github.com/bnewbold/exmachina $(BUILD_DIR)/exmachina
|
||||
|
||||
$(BUILD_DIR)/bjsonrpc: build
|
||||
git clone git://github.com/deavid/bjsonrpc.git $(BUILD_DIR)/bjsonrpc
|
||||
|
||||
dbs: data/users.sqlite3
|
||||
|
||||
data/users.sqlite3: data/users.sqlite3.distrib
|
||||
@@ -69,3 +83,5 @@ clean:
|
||||
@find . -name "*.bak" -exec rm {} \;
|
||||
@$(MAKE) -s -C doc clean
|
||||
@$(MAKE) -s -C templates clean
|
||||
rm -rf build
|
||||
rm -f predepend
|
||||
Reference in new issue
Block a user