X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=19a73b024fc29eb75432a598fa01f2e9675e14e7;hb=1555a620f8f05ba8f3bccba6ec5f559752bbef5d;hp=826ef5f5c8ee05b6ac7c0e15aa033e520548d559;hpb=76b6671a80cf0fe1c0478e4df298b481548883b3;p=freeside.git diff --git a/Makefile b/Makefile index 826ef5f5c..19a73b024 100644 --- a/Makefile +++ b/Makefile @@ -170,6 +170,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 deploy: install