Project

General

Profile

« Previous | Next » 

Revision 3437

backups/Makefile: Rearranged sections so that backup targets, which apply to both Archived imports and Full DB, are at the top of a common Backups section

View differences:

Makefile
38 38
_always:
39 39
.PHONY: _always
40 40

  
41
##### Archived imports
41
##### Backups
42 42

  
43
#### Backups
44

  
45 43
# Must come before %.sql with no prerequisites to be matched first
46 44
%.sql: %
47 45
	$(restore) $< >$@
......
63 61
%.backup/test: %.backup.sql _always
64 62
	rm $<
65 63

  
66
#### Maintenance
64
#### Archived imports
67 65

  
68 66
confirmRm = $(call confirm,WARNING: This will delete the archived import $(1)!)
69 67

  
......
74 72
%.backup/rm_indexes: %.backup _always
75 73
	$(pg_dump) $*|$(bin)/mk_rm_indexes|$(psqlVerbose)
76 74

  
77
##### Full DB backups
75
#### Full DB
78 76

  
79 77
vegbien.backup:
80 78
	$(backup) all >$@

Also available in: Unified diff