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 3584 aaronmk
rsyncSrcs := $(rsync) --include="/*/" --include="/*/src/" --include="/*/src/**"\
15
--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 3698 aaronmk
rsyncLogs := $(rsync) --include="/*/" --include="/*/import/"\
25
--exclude="/*/import/install-*.log.sql" --include="/*/import/*.log.sql"\
26
--exclude="**"
27
28
download-logs: _always
29
	$(rsyncLogs) $(remote) $(local)
30
31
32 3697 aaronmk
include ../lib/forwarding.Makefile