summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorivan <ivan>2004-06-11 07:37:23 +0000
committerivan <ivan>2004-06-11 07:37:23 +0000
commit8bbd039705bd2345d250788616ce17051a25fdb9 (patch)
treea7e4724ad67ccd605664fdc58b43876470c6c094 /Makefile
parent7209026857ada1ec716c728ae966f0fc986b180e (diff)
add update-selfservice target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3500888..ef34915 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