X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=ef34915d2c68c1cd957662ac720f96bd9d99e38f;hp=35008887d61daf6893dd4e0011b317360e57bdda;hb=8f6a34b553a7ca9b7fc9c9cf5802ce418e3a5296;hpb=50561b7c4648c21c4abe75758fc3e426d120ca88 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