1
|
include ../lib/common.Makefile
|
2
|
|
3
|
subMake += --makefile=../input.Makefile
|
4
|
|
5
|
|
6
|
# Paths
|
7
|
bin := ../bin
|
8
|
|
9
|
##### SVN
|
10
|
|
11
|
# Adds a new datasource
|
12
|
# Must come before $(subdir)% to override it
|
13
|
%/add: _always
|
14
|
$(call addDir,$*)
|
15
|
$(subMake)
|
16
|
|
17
|
##### Input data
|
18
|
|
19
|
upload: _always
|
20
|
$(bin)/sync_upload './**'
|
21
|
download: _always
|
22
|
swap=1 $(bin)/sync_upload './**'
|
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
|