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 4126 aaronmk
rsyncSrcs := $(rsync) --include="/*/" --include="/*/src/"\
15
--exclude="/*/src/*/test*.xml*" --exclude="/*/src/*/logs/**"\
16
--include="/*/src/**" --exclude="**"
17 3375 aaronmk
18 3584 aaronmk
upload: _always
19
	$(rsyncSrcs) $(local) $(remote)
20 3375 aaronmk
download: _always
21 3584 aaronmk
	$(rsyncSrcs) $(remote) $(local)
22 3375 aaronmk
23 3698 aaronmk
##### Import logs
24 1591 aaronmk
25 4122 aaronmk
rsyncLogs := $(rsync) --include="/*/" --include="/*/src/" --include="/*/src/*/"\
26 4123 aaronmk
--include="/*/src/*/logs/" --exclude="/*/src/*/logs/install.log.sql"\
27 4122 aaronmk
--include="/*/src/*/logs/*.log.sql" --exclude="**"
28 3698 aaronmk
29
download-logs: _always
30
	$(rsyncLogs) $(remote) $(local)
31
32
33 3697 aaronmk
include ../lib/forwarding.Makefile