mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +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
|
MAKE=make
|
||||||
BUILDDIR = vendor
|
|
||||||
|
|
||||||
CSS=$(wildcard *.css)
|
CSS=$(wildcard *.css)
|
||||||
CSS=$(subst .tiny,,$(shell find themes -type f -name '*.css'))
|
CSS=$(subst .tiny,,$(shell find themes -type f -name '*.css'))
|
||||||
@ -8,12 +6,9 @@ COMPRESSED_CSS := $(patsubst %.css,%.tiny.css,$(CSS))
|
|||||||
PWD=`pwd`
|
PWD=`pwd`
|
||||||
|
|
||||||
## Catch-all tagets
|
## 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
|
all: default
|
||||||
|
|
||||||
build:
|
|
||||||
@mkdir -p $(BUILDDIR)
|
|
||||||
|
|
||||||
predepend:
|
predepend:
|
||||||
sudo sh -c "apt-get install augeas-tools python-bjsonrpc python-augeas python-simplejson pandoc python-cheetah python-cherrypy3"
|
sudo sh -c "apt-get install augeas-tools python-bjsonrpc python-augeas python-simplejson pandoc python-cheetah python-cherrypy3"
|
||||||
git submodule init
|
git submodule init
|
||||||
@ -56,6 +51,7 @@ data/users.sqlite3: data/users.sqlite3.distrib
|
|||||||
|
|
||||||
dirs:
|
dirs:
|
||||||
@mkdir -p data/cherrypy_sessions
|
@mkdir -p data/cherrypy_sessions
|
||||||
|
@mkdir -p vendor
|
||||||
|
|
||||||
config: Makefile
|
config: Makefile
|
||||||
@test -f plinth.config || cp plinth.sample.config plinth.config
|
@test -f plinth.config || cp plinth.sample.config plinth.config
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user