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

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

    
32

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