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) --include="/*/" --include="/*/*/" --include="/*/*/logs/"\
25
--exclude="/*/*/logs/install.log.sql" --include="/*/*/logs/*.log.sql"$(if\
26
$(tnrs_log), --include="/.TNRS/tnrs/tnrs.make.log") --exclude="**"
27

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

    
31

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