~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/Makefile

  • Committer: Jeroen Vermeulen
  • Date: 2011-09-26 06:30:07 UTC
  • mto: This revision was merged to the branch mainline in revision 14049.
  • Revision ID: jeroen.vermeulen@canonical.com-20110926063007-1fb5eelnidpnra9a
Fix lots of lint in recently-changed files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2010 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2010-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
#
4
4
# Quick hack makefile to (re)create the Launchpad database.
63
63
# to ensure that the development database remains in sync with reality
64
64
# on production. It is generated using newbaseline.py in
65
65
# bzr+ssh://devpad.canonical.com/code/stub/dbascripts
66
 
 
66
#
67
67
REV=2208
68
68
BASELINE=launchpad-${REV}-00-0.sql
69
69
MD5SUM=12a258f8651ae3bba0c96ec8e62be1dd  launchpad-2208-00-0.sql
71
71
default: all
72
72
 
73
73
# Create a launchpad_ftest_template DB and load the test sample data into it.
74
 
test: create 
 
74
test: create
75
75
        @ echo "* Creating database \"$(TEMPLATE_WITH_TEST_SAMPLEDATA)\"."
76
76
        @ ${CREATEDB} ${EMPTY_DBNAME} ${TEMPLATE_WITH_TEST_SAMPLEDATA}
77
77
        @ echo "* Loading sample data"
110
110
# database schema, full text indexes and grants into it.
111
111
# It will also create session DBs for the test and dev environments.
112
112
# No sample data is added at this point.
113
 
create: 
 
113
create:
114
114
        @ echo "* If this fails you need to run as the postgresql superuser"
115
115
        @ echo "* eg. sudo -u postgres make create"
116
116
        @ echo