Project

General

Profile

1
include ../lib/common.Makefile
2

    
3

    
4
##### SVN
5

    
6
# Adds a new datasource
7
# Must come before $(subdir)% to override it
8
%/add: _always
9
	$(call addDir,$*)
10
	$(subMake)
11

    
12
##### Input data
13

    
14
rsyncSrcs := $(rsync) --include="/*/" --include="/*/src/" --include="/*/src/**"\
15
--exclude="**"
16

    
17
upload: _always
18
	$(rsyncSrcs) $(local) $(remote)
19
download: _always
20
	$(rsyncSrcs) $(remote) $(local)
21

    
22
##### Import logs
23

    
24
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
include ../lib/forwarding.Makefile
(2-2/4)