Project

General

Profile

1 14817 aaronmk
include ../lib/common.Makefile
2
3
subMake += --makefile=../input.Makefile
4
5
6 14896 aaronmk
##### Configuration
7
8
# vars
9
all ?=
10
11
12 14817 aaronmk
# Paths
13
bin := ../bin
14
15
##### SVN
16
17
# Adds a new datasource
18
# Must come before $(subdir)% to override it
19
%/add: _always
20
	$(call addDir,$*)
21
	$(subMake)
22
23
##### Input data
24
25
upload: _always
26
	$(bin)/sync_upload './**'
27
download: _always
28 14897 aaronmk
	swap=1 $(bin)/sync_upload --exclude='*.log.sql*' \
29
$(if $(all),'./**','.[^as.]*/**')
30 14817 aaronmk
31
##### install
32
33 14898 aaronmk
install: .[^as.]*/install $(if $(all),*/install) _always ;
34 14817 aaronmk
35
##### Import logs
36
37
download-logs: _always
38
	swap=1 $(bin)/sync_upload --include="/**/" --include="/**/logs/*.log.sql" \
39
--exclude="**"
40
41
42
include ../lib/forwarding.Makefile