Project

General

Profile

1
include ../lib/common.Makefile
2

    
3

    
4
##### SVN
5

    
6
# Adds a new datasource
7
# Must come before $(subdir)% to override it
8
%/add: _always
9
	$(call addDir,$*)
10
	$(subMake)
11

    
12
##### Input data
13

    
14
rsyncSrcs := $(rsync) --include="/*/" --exclude="/*/*/test*.xml*"\
15
--exclude="/**/logs/install.log.sql" --include="/*/**" --exclude="**"
16

    
17
upload: _always
18
	$(rsyncSrcs) $(local) $(remote)
19
download: _always
20
	$(rsyncSrcs) $(remote) $(local)
21

    
22
##### Import logs
23

    
24
rsyncLogs := $(rsync) --include="/**/" --exclude="/**/logs/install.log.sql"\
25
--include="/**/logs/*.log.sql" --exclude="**"
26

    
27
download-logs: _always
28
	$(rsyncLogs) $(remote) $(local)
29

    
30

    
31
include ../lib/forwarding.Makefile
(2-2/4)