Also tracking configuration
This commit is contained in:
@@ -6,7 +6,7 @@ PYTHON3 := $(shell which python3)
|
||||
TARBALL_BASENAME := postgresql-$(PG_VERSION)
|
||||
TARBALL_URL := $(DOWNLOAD_ROOT)/v$(PG_VERSION)/$(TARBALL_BASENAME).tar.bz2
|
||||
|
||||
all: $(HERE)/bin/pg_ctl $(HERE)/data $(HERE)/log
|
||||
all: $(HERE)/bin/pg_ctl $(HERE)/data $(HERE)/log $(HERE)/data/postgresql.conf
|
||||
|
||||
start: $(HERE)/bin/pg_ctl $(HERE)/data $(HERE)/log
|
||||
$(HERE)/bin/pg_ctl start -D $(HERE)/data -l $(HERE)/log/postgres.log
|
||||
@@ -43,3 +43,6 @@ $(HERE)/data:
|
||||
|
||||
$(HERE)/log:
|
||||
mkdir -p $@
|
||||
|
||||
$(HERE)/data/postgresql.conf: $(HERE)/postgresql.conf $(HERE)/data
|
||||
cp -v $< $@
|
||||
|
Reference in New Issue
Block a user