Project

General

Profile

« Previous | Next » 

Revision 3375

inputs/Makefile: Added download to download input data from vegbiendev

View differences:

Makefile
1
##### Configuration
2

  
3
src_server ?= vegbiendev
4
src_user ?= $(USER)
5
test ?=
6

  
1 7
##### Vars/functions
2 8

  
3 9
# Make
......
30 36
	$(call addDir,$*)
31 37
	$(subMake)
32 38

  
39
##### Input data
40

  
41
rsync = rsync$(if $(test), --dry-run) --archive --update --verbose\
42
--itemize-changes --progress --exclude=".*" $(1)\
43
$(src_user)@$(src_server):/home/bien/svn/inputs/ ./
44

  
45
download: _always
46
	$(download)
47
download := $(call rsync,--include="/*/" --include="/*/src/"\
48
--include="/*/src/**" --exclude="**")
49

  
33 50
##### Subdir forwarding
34 51

  
35 52
subdirs := $(wildcard */)

Also available in: Unified diff