Also tracking configuration

This commit is contained in:
Dan Buch
2012-07-13 22:26:13 -04:00
parent ccdc162b07
commit 0d62c61add
2 changed files with 560 additions and 1 deletions

View File

@@ -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 $< $@