Project

General

Profile

« Previous | Next » 

Revision 7557

lib/common.Makefile: Renamed $(src_server) to $(remote_host) and $(src_user) to $(remote_user) for clarity

View differences:

backups/Makefile
1 1
##### Configuration
2 2

  
3
src_server ?= jupiter
3
remote_host ?= jupiter
4 4

  
5 5

  
6 6
selfDir_NzrNZp := $(dir $(lastword $(MAKEFILE_LIST)))
......
89 89

  
90 90
##### Synchronization
91 91

  
92
remote := $(src_user)@$(src_server):/data/dev/aaronmk/bien/backups/
92
remote := $(remote_user)@$(remote_host):/data/dev/aaronmk/bien/backups/
93 93

  
94 94
rsyncBackups := $(rsync) --include="/*.backup" --include="/*.sql"\
95 95
--include="/*.csv" --include="/*.md5" --exclude="**"
lib/common.Makefile
1 1
##### Configuration
2 2

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

  
7 7
##### Vars/functions
......
81 81
rsync := $(rsync*) --exclude=".svn/" --exclude="*\#" --exclude=".DS_Store"
82 82
local := ./
83 83
localDirName := $(notdir $(realpath $(local)))
84
remote := $(src_user)@$(src_server):/home/bien/svn/$(localDirName)/
84
remote := $(remote_user)@$(remote_host):/home/bien/svn/$(localDirName)/
85 85

  
86 86
# DB
87 87
mkSchemaCmd = 'CREATE SCHEMA $(1);'

Also available in: Unified diff