Revision 3699
Added by Aaron Marcuse-Kubitza over 12 years ago
backups/Makefile | ||
---|---|---|
1 |
include ../lib/common.Makefile |
|
2 |
|
|
3 |
|
|
1 | 4 |
##### Vars/functions |
2 | 5 |
|
3 | 6 |
# Make |
... | ... | |
36 | 39 |
# pg_restore doesn't support PGDATABASE env var |
37 | 40 |
rmSchema = 'DROP SCHEMA IF EXISTS "$(1)" CASCADE;' |
38 | 41 |
|
39 |
##### General targets |
|
40 |
|
|
41 |
all: |
|
42 |
|
|
43 |
.SUFFIXES: # turn off built-in suffix rules |
|
44 |
.SECONDARY: # don't automatically delete intermediate files |
|
45 |
.DELETE_ON_ERROR: # delete target if recipe fails |
|
46 |
|
|
47 |
_always: |
|
48 |
.PHONY: _always |
|
49 |
|
|
50 | 42 |
##### Backups |
51 | 43 |
|
52 | 44 |
# Must come before %.sql with no prerequisites to be matched first |
Also available in: Unified diff
backups/Makefile: Refactored to include lib/common.Makefile