mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
bit of Makefile reorganization
This commit is contained in:
parent
c976b1a00c
commit
ce34a5eaa8
8
Makefile
8
Makefile
@ -1,6 +1,4 @@
|
||||
#SHELL := /bin/bash
|
||||
MAKE=make
|
||||
BUILDDIR = vendor
|
||||
|
||||
CSS=$(wildcard *.css)
|
||||
CSS=$(subst .tiny,,$(shell find themes -type f -name '*.css'))
|
||||
@ -8,12 +6,9 @@ COMPRESSED_CSS := $(patsubst %.css,%.tiny.css,$(CSS))
|
||||
PWD=`pwd`
|
||||
|
||||
## Catch-all tagets
|
||||
default: predepend config dirs template css docs dbs $(BUILDDIR)/exmachina #$(BUILDDIR)/bjsonrpc
|
||||
default: predepend config dirs template css docs dbs
|
||||
all: default
|
||||
|
||||
build:
|
||||
@mkdir -p $(BUILDDIR)
|
||||
|
||||
predepend:
|
||||
sudo sh -c "apt-get install augeas-tools python-bjsonrpc python-augeas python-simplejson pandoc python-cheetah python-cherrypy3"
|
||||
git submodule init
|
||||
@ -56,6 +51,7 @@ data/users.sqlite3: data/users.sqlite3.distrib
|
||||
|
||||
dirs:
|
||||
@mkdir -p data/cherrypy_sessions
|
||||
@mkdir -p vendor
|
||||
|
||||
config: Makefile
|
||||
@test -f plinth.config || cp plinth.sample.config plinth.config
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user