From: Jim Meyering Date: Sat, 3 Feb 2001 16:47:55 +0000 (+0000) Subject: (a_host): Use fencepost. X-Git-Tag: FILEUTILS-4_0_39~34 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=5cb10ea4452d248acb6476bb866cbaebcf9d0a54;p=thirdparty%2Fcoreutils.git (a_host): Use fencepost. (real_dir): Use the same name for both. (alpha): Print commands for both hosts. --- diff --git a/Makefile.maint b/Makefile.maint index cf2bb277d5..fdf027be2a 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -78,15 +78,16 @@ my-distcheck: writable-files po-check echo "$(distdir).tar.gz is ready for distribution"; \ echo "========================" -a_host = alpha.gnu.org +a_host = fencepost.gnu.org b_host = freefriends.org alpha_subdir = gnu/fetish a_url_dir = $(alpha_subdir) b_url_dir = $(alpha_subdir) -a_real_dir = /fs/share/ftp/$(alpha_subdir) -b_real_dir = fetish-ftp +# This must be the same name on both hosts. +# Make it a symlink that points to the right place. +real_dir = fetish-ftp url_dir_list = $(foreach x,a b,ftp://$($(x)_host)/$($(x)_url_dir)) @@ -172,8 +173,9 @@ alpha: writable-files po-check cvs ci -m. $(prev_version_file) @echo ===================================== @echo ===================================== - @echo 'rsync -e ssh --pro -av $(xd-delta) $(distdir).tar.gz \' - @echo ' $(b_host):$(b_real_dir)' + @echo 'for host in $(a_host) $(b_host); do \' + @echo ' rsync -e ssh --pro -av $(xd-delta) $(distdir).tar.gz \' + @echo ' $(b_host):$(b_real_dir); done' @echo '# send the /tmp/announcement e-mail' @echo ===================================== @echo =====================================