From: ivan Date: Fri, 11 Jun 2004 07:37:23 +0000 (+0000) Subject: add update-selfservice target X-Git-Tag: BEFORE_FINAL_MASONIZE~1041 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=8bbd039705bd2345d250788616ce17051a25fdb9 add update-selfservice target --- diff --git a/Makefile b/Makefile index 35008887d..ef34915d2 100644 --- a/Makefile +++ b/Makefile @@ -184,6 +184,13 @@ install-selfservice: ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo install -o freeside -d /usr/local/freeside" ;\ done +update-selfservice: + for MACHINE in ${SELFSERVICE_MACHINES}; do \ + rsync -rlptz fs_selfservice/FS-SelfService/ ${SELFSERVICE_INSTALL_USER}@$$MACHINE:FS-SelfService ;\ + ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; perl Makefile.PL && make" ;\ + ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; sudo make install" ;\ + done + install: install-perl-modules install-docs install-init install-rt deploy: install