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="/*/" --include="/*/src/"\
15
--exclude="/*/src/*/test*.xml*" --exclude="/*/src/*/logs/**"\
16
--include="/*/src/**" --exclude="**"
17

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

    
23
##### Import logs
24

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

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

    
32

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