Project

General

Profile

« Previous | Next » 

Revision 3379

root Makefile: schemas/%.backup: Removed explicit check if file exists because now that the target name matches the name of the file created, the file will be rebuilt only if it doesn't exist

View differences:

Makefile
250 250
# pg_dump doesn't back up the CREATE SCHEMA statement for it, assuming falsely
251 251
# that public already exists because it's in template1.
252 252
schemas/%.backup:
253
	$(if $(wildcard $@),,"time" env data=1 bin/pg_dump_vegbien $* >$@)
253
	"time" env data=1 bin/pg_dump_vegbien $* >$@
254 254

  
255 255
restoreBien = "time" bin/postgres_vegbien pg_restore --exit-on-error --verbose\
256 256
--dbname=vegbien

Also available in: Unified diff