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/**" --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*) --exclude=".svn/" --include="/*/" --include="/*/*/"\
25
--include="/*/*/logs/" --exclude="/*/*/logs/install.log.sql"\
26
--include="/*/*/logs/*.log.sql" --exclude="**"
27

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

    
31

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