Project

General

Profile

1 3697 aaronmk
include ../lib/common.Makefile
2 3375 aaronmk
3 7081 aaronmk
subMake += --makefile=../input.Makefile
4 3375 aaronmk
5 7081 aaronmk
6 10024 aaronmk
# Paths
7
bin := ../bin
8
9 1591 aaronmk
##### SVN
10
11
# Adds a new datasource
12
# Must come before $(subdir)% to override it
13 1594 aaronmk
%/add: _always
14
	$(call addDir,$*)
15
	$(subMake)
16 1591 aaronmk
17 3375 aaronmk
##### Input data
18
19 3584 aaronmk
upload: _always
20 10024 aaronmk
	$(bin)/sync_upload './**'
21 3375 aaronmk
download: _always
22 10024 aaronmk
	swap=1 $(bin)/sync_upload './**'
23 3375 aaronmk
24 3698 aaronmk
##### Import logs
25 1591 aaronmk
26 6290 aaronmk
rsyncLogs := $(rsync) --include="/**/" --exclude="/**/logs/install.log.sql"\
27
--include="/**/logs/*.log.sql" --exclude="**"
28 3698 aaronmk
29
download-logs: _always
30
	$(rsyncLogs) $(remote) $(local)
31
32
33 3697 aaronmk
include ../lib/forwarding.Makefile