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 |
14674
|
aaronmk
|
##### install
|
25 |
|
|
|
26 |
|
|
install: .[^as.]*/install _always ; # not . .. .svn .archive
|
27 |
|
|
|
28 |
3698
|
aaronmk
|
##### Import logs
|
29 |
1591
|
aaronmk
|
|
30 |
3698
|
aaronmk
|
download-logs: _always
|
31 |
10026
|
aaronmk
|
swap=1 $(bin)/sync_upload --include="/**/" --include="/**/logs/*.log.sql" \
|
32 |
|
|
--exclude="**"
|
33 |
3698
|
aaronmk
|
|
34 |
|
|
|
35 |
3697
|
aaronmk
|
include ../lib/forwarding.Makefile
|