summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-03 16:47:55 +0000
committerJim Meyering <jim@meyering.net>2001-02-03 16:47:55 +0000
commit5cb10ea4452d248acb6476bb866cbaebcf9d0a54 (patch)
tree98872ca5fa2fe15cb330eacb37a0a1d49f01102b /Makefile.maint
parent7a493e5c5472416f64d1b58d2433be828433e31f (diff)
downloadcoreutils-5cb10ea4452d248acb6476bb866cbaebcf9d0a54.tar.xz
(a_host): Use fencepost.
(real_dir): Use the same name for both. (alpha): Print commands for both hosts.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile.maint b/Makefile.maint
index cf2bb277d..fdf027be2 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 =====================================