Revision 3362
Added by Aaron Marcuse-Kubitza over 12 years ago
Makefile | ||
---|---|---|
244 | 244 |
schemas/%/uninstall: _always |
245 | 245 |
echo $(call rmSchemaCmd,$*)|$(psqlAsBien) |
246 | 246 |
|
247 |
backupFile = schemas/$*.db |
|
248 |
backup = env data=1 bin/pg_dump_vegbien $* >$(backupFile) |
|
249 |
|
|
250 |
schemas/%/backup: _always |
|
251 |
$(if $(wildcard $(backupFile)),,$(backup)) |
|
252 |
|
|
247 | 253 |
schemas/%/rm_indexes: _always |
248 | 254 |
bin/pg_dump_vegbien $*|bin/mk_rm_indexes|$(psqlAsBien) --echo-all |
249 | 255 |
|
Also available in: Unified diff
root Makefile: VegBIEN DB: Schemas: Added schemas/%/backup for backing up an import's schema