Project

General

Profile

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