aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Invergo <brandon@invergo.net>2013-05-19 23:17:54 +0200
committerBrandon Invergo <brandon@invergo.net>2013-05-19 23:17:54 +0200
commitceb768ae6ef76e03f3c147caaf654a26ab3c5137 (patch)
treee44bfa6ba0c90f9509e984d74b17882f09dc58cd
parent09584b3a041572837dd6d745c52d00ca9dccef44 (diff)
downloadmediagoblin-ceb768ae6ef76e03f3c147caaf654a26ab3c5137.tar.lz
mediagoblin-ceb768ae6ef76e03f3c147caaf654a26ab3c5137.tar.xz
mediagoblin-ceb768ae6ef76e03f3c147caaf654a26ab3c5137.zip
use POSTGRES variable
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index a3f40f51..5efc5a6a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -25,6 +25,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
PYTHON = @PYTHON@
VIRTUALENV = @VIRTUALENV@
SPHINXBUILD = @SPHINXBUILD@
+POSTGRES = @POSTGRES@
SHELL = @SHELL@
MKDIR_P = @MKDIR_P@
INSTALL = @INSTALL@
@@ -139,8 +140,8 @@ installdirs:
# Set up PostgreSQL
postgresql:
- sudo -u postgres createuser mediagoblin
- sudo -u postgres createdb -E UNICODE -O mediagoblin mediagoblin
+ sudo -u $(POSTGRES) createuser mediagoblin
+ sudo -u $(POSTGRES) createdb -E UNICODE -O mediagoblin mediagoblin
update:
ifneq ($(VIRTUALENV),no)