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