From: R. Steve McKown Date: Thu, 17 Dec 2009 00:05:33 +0000 (-0700) Subject: Add a deploy target to the Makefile X-Git-Url: https://oss.titaniummirror.com/gitweb?p=oss-web.git;a=commitdiff_plain;h=e8ff6dc54d2695b041527f3ecd2646925b840430 Add a deploy target to the Makefile --- diff --git a/Makefile b/Makefile index 2e69fb2..41e0ebc 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +#!/usr/bin/make + +deployurl = sysadmin@oss.titaniummirror.com:/var/www/ all: webber.conf ./webber @@ -11,6 +14,9 @@ clean: realclean: clean rm -rf out +deploy: + rsync -avz --delete out/ $(deployurl) + # Automatically create webber.conf: ifeq ($(wildcard webber.conf),) webber.conf: in/webber.conf