Project

General

Profile

1 3697 aaronmk
include ../lib/common.Makefile
2 3375 aaronmk
3
4 1591 aaronmk
##### SVN
5
6
# Adds a new datasource
7
# Must come before $(subdir)% to override it
8 1594 aaronmk
%/add: _always
9
	$(call addDir,$*)
10
	$(subMake)
11 1591 aaronmk
12 3375 aaronmk
##### Input data
13
14 4182 aaronmk
rsyncSrcs := $(rsync) --include="/*/" --exclude="/*/*/test*.xml*"\
15
--exclude="/*/*/logs/**" --include="/*/**" --exclude="**"
16 3375 aaronmk
17 3584 aaronmk
upload: _always
18
	$(rsyncSrcs) $(local) $(remote)
19 3375 aaronmk
download: _always
20 3584 aaronmk
	$(rsyncSrcs) $(remote) $(local)
21 3375 aaronmk
22 3698 aaronmk
##### Import logs
23 1591 aaronmk
24 4182 aaronmk
rsyncLogs := $(rsync) --include="/*/" --include="/*/*/" --include="/*/*/logs/"\
25
--exclude="/*/*/logs/install.log.sql" --include="/*/*/logs/*.log.sql"\
26
--exclude="**"
27 3698 aaronmk
28
download-logs: _always
29
	$(rsyncLogs) $(remote) $(local)
30
31
32 3697 aaronmk
include ../lib/forwarding.Makefile