summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-06-11 07:40:54 +0000
committerivan <ivan>2004-06-11 07:40:54 +0000
commit435f2314efd9b62b6bbf6774402c8934611c707f (patch)
tree76000647ce47e52dde584cdeefcb994561848e4f
parent6ad641ff2d9c15df885871aaf4573cf3d837007e (diff)
add update-selfservice target
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 826ef5f5c..7c77aa29f 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