Project

General

Profile

1 3697 aaronmk
include ../lib/common.Makefile
2 3375 aaronmk
3
4 1591 aaronmk
##### SVN
5
6
# Adds a new datasource
7
# Must come before $(subdir)% to override it
8 1594 aaronmk
%/add: _always
9
	$(call addDir,$*)
10
	$(subMake)
11 1591 aaronmk
12 3375 aaronmk
##### Input data
13
14 4182 aaronmk
rsyncSrcs := $(rsync) --include="/*/" --exclude="/*/*/test*.xml*"\
15 4435 aaronmk
--exclude="/**/logs/**" --include="/*/**" --exclude="**"
16 3375 aaronmk
17 3584 aaronmk
upload: _always
18
	$(rsyncSrcs) $(local) $(remote)
19 3375 aaronmk
download: _always
20 3584 aaronmk
	$(rsyncSrcs) $(remote) $(local)
21 3375 aaronmk
22 3698 aaronmk
##### Import logs
23 1591 aaronmk
24 5085 aaronmk
rsyncLogs := $(rsync*) --exclude=".svn/" --include="/*/" --include="/*/*/"\
25
--include="/*/*/logs/" --exclude="/*/*/logs/install.log.sql"\
26 5090 aaronmk
--include="/*/*/logs/*.log.sql"$(if $(tnrs_log),\
27
--include="/.TNRS/tnrs/tnrs.make.log") --exclude="**"
28 3698 aaronmk
29
download-logs: _always
30
	$(rsyncLogs) $(remote) $(local)
31
32
33 3697 aaronmk
include ../lib/forwarding.Makefile