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 4435 aaronmk
--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 6290 aaronmk
rsyncLogs := $(rsync) --include="/**/" --exclude="/**/logs/install.log.sql"\
25
--include="/**/logs/*.log.sql" --exclude="**"
26 3698 aaronmk
27
download-logs: _always
28
	$(rsyncLogs) $(remote) $(local)
29
30
31 3697 aaronmk
include ../lib/forwarding.Makefile