1 # Copyright (C) 2012, 2013 The Meme Factory, Inc. http://www.meme.com/
2 # Copyright (C) 2004, 2005, 2008, 2011 Karl O. Pinc <kop@meme.com>
4 # This file is part of Gombe-MI.
6 # Gombe-MI is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with Gombe-MI. If not, see <http://www.gnu.org/licenses/>.
19 # Default variable assignments for database creation related makefiles.
21 # Karl O. Pinc <kop@meme.com>
23 # You probably want to override the database with GOMBEMI_DB=gombemi
24 # on the make command line.
25 ifeq ($(strip $(GOMBEMI_DB)),)
26 export GOMBEMI_DB := gombemi_copy
28 #export SERVERHOST := /tmp ; # use Unix socket
29 export ADMINUSER := gombemi_admin
31 # For invoking psql everywhere.
32 PSQL_ARGS_MINIMAL = -U $(ADMINUSER) -d $(GOMBEMI_DB)
33 PSQL_ARGS = --tuples-only -q $(PSQL_ARGS_MINIMAL)