target to rsync to deployment server
authordpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Mon, 11 Jul 2005 14:59:05 +0000 (14:59 +0000)
committerdpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Mon, 11 Jul 2005 14:59:05 +0000 (14:59 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@21 8392b6e1-25fa-0310-8288-cc32f8e212ea

Makefile

index 558a869..f895739 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+tmp=/tmp/backuppc-svn/
+
 all:
        @echo "make install to install BackupPC using sudo"
 
@@ -14,3 +16,9 @@ start:
 
 stop:
        sudo -u backuppc killall BackupPC && sleep 1 || true
+
+asa:
+       rm -Rf $(tmp)
+       svn export . $(tmp)
+       rsync -rav $(tmp) 10.210.99.1:backuppc-svn/
+       rm -Rf $(tmp)