Revision 389
Added by Aaron Marcuse-Kubitza almost 13 years ago
Makefile | ||
---|---|---|
127 | 127 |
|
128 | 128 |
##### |
129 | 129 |
|
130 |
db: _always |
|
130 |
db: _always schemas/vegbien.sql
|
|
131 | 131 |
-$($@_create_cmd) |
132 |
$(psqlAsBien) <mappings/schemas/vegbien.sql
|
|
132 |
$(psqlAsBien) <schemas/vegbien.sql |
|
133 | 133 |
# ignore errors if database exists |
134 | 134 |
db_create_cmd = echo "CREATE DATABASE vegbien OWNER bien ENCODING 'UTF8' \ |
135 | 135 |
TEMPLATE template1;"|$(psqlAsAdmin) |
... | ... | |
139 | 139 |
|
140 | 140 |
reinstall_db: _always rm_db db |
141 | 141 |
|
142 |
empty_db: _always |
|
143 |
$(psqlAsBien) <mappings/schemas/vegbien_empty.sql
|
|
142 |
empty_db: _always schemas/vegbien_empty.sql
|
|
143 |
$(psqlAsBien) <schemas/vegbien_empty.sql |
|
144 | 144 |
|
145 | 145 |
##### |
146 | 146 |
|
Also available in: Unified diff
Moved mappings/schemas to schemas