mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
cfg.py shouldn't overwrite local config on update
This commit is contained in:
parent
73eb55b232
commit
dcd36e1b94
6
Makefile
6
Makefile
@ -1,3 +1,4 @@
|
|||||||
|
#SHELL := /bin/bash
|
||||||
MAKE=make
|
MAKE=make
|
||||||
|
|
||||||
#TODO: add install target
|
#TODO: add install target
|
||||||
@ -8,7 +9,7 @@ COMPRESSED_CSS := $(patsubst %.css,%.tiny.css,$(CSS))
|
|||||||
PWD=`pwd`
|
PWD=`pwd`
|
||||||
|
|
||||||
## Catch-all tagets
|
## Catch-all tagets
|
||||||
default: cherrypy.config dirs template css docs dbs
|
default: cfg cherrypy.config dirs template css docs dbs
|
||||||
all: default
|
all: default
|
||||||
|
|
||||||
dbs: data/users.sqlite3
|
dbs: data/users.sqlite3
|
||||||
@ -19,6 +20,9 @@ data/users.sqlite3: data/users.sqlite3.distrib
|
|||||||
dirs:
|
dirs:
|
||||||
@mkdir -p data/cherrypy_sessions
|
@mkdir -p data/cherrypy_sessions
|
||||||
|
|
||||||
|
cfg: Makefile
|
||||||
|
test -f cfg.py || cp cfg.sample.py cfg.py
|
||||||
|
|
||||||
cherrypy.config: Makefile
|
cherrypy.config: Makefile
|
||||||
@echo [global]\\n\
|
@echo [global]\\n\
|
||||||
server.socket_host = \'0.0.0.0\'\\n\
|
server.socket_host = \'0.0.0.0\'\\n\
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user