about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-02-11 21:18:21 +0000
committerEric Wong <normalperson@yhbt.net>2012-02-11 21:18:21 +0000
commit4064fe83fb1b9abfa95c8ad21972ecab7ce3106e (patch)
treebc752981592e1f5de4f616715ecaee40f3173f9b
parenta4e135635f51c526354f4ea7a6afa78d7ef2c088 (diff)
downloadcmogstored-4064fe83fb1b9abfa95c8ad21972ecab7ce3106e.tar.gz
In case we publish mirrors to multiple sites.
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 132580b..c15238c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -151,6 +151,7 @@ $(top_srcdir)/ChangeLog: configure.ac
         $(AM_V_GEN)$(RAKE) -sq changelog > $@.$$$$ && mv $@.$$$$ $@
 
 RSYNC = rsync
+RSYNC_DEST = bogomips.org:/srv/bogomips/cmogstored/
 WWW_DOC = README AUTHORS NEWS.atom.xml INSTALL $(extra_doc)
 NEWS.atom.xml: configure.ac
         $(AM_V_GEN)$(RAKE) -sq news_atom > $@.$$$$ && mv $@.$$$$ $@
@@ -159,7 +160,7 @@ publish: NEWS.atom.xml NEWS ChangeLog
         -git set-file-times
         $(INSTALL_DATA) -p $(WWW_DOC) www/
         for i in $$(git ls-files doc/); do $(INSTALL_DATA) -p $$i www/; done
-        $(RSYNC) -av www/ bogomips.org:/srv/bogomips/cmogstored/
+        $(RSYNC) -av www/ $(RSYNC_DEST)
 
 .PHONY: publish