#!/usr/bin/make
-deployurl = sysadmin@oss.titaniummirror.com:/var/www/oss/
+server = oss.titaniummirror.com
+deployurl = sysadmin@$(server):/var/www/oss/
all: webber.conf
./webber
deploy:
rsync -avz --delete out/ $(deployurl)
+dry:
+ rsync --dry-run -avz --delete out/ $(deployurl)
+
# Automatically create webber.conf:
ifeq ($(wildcard webber.conf),)
webber.conf: in/webber.conf