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