summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-11 16:24:01 +0000
committerJim Meyering <jim@meyering.net>2001-02-11 16:24:01 +0000
commit88287082b0f62d7daf9c58e10ee75dec52a7aa20 (patch)
treeef19839c16969e3fa2cef4a7c46f16f5f571a594 /Makefile.maint
parent787421de85c8dac8711a67cd3792666dfbbfa588 (diff)
downloadcoreutils-88287082b0f62d7daf9c58e10ee75dec52a7aa20.tar.xz
(emit-rsync-commands): Define.
(alpha): Use it here.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint24
1 files changed, 14 insertions, 10 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 2bb2e5a07..44f94324a 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -78,7 +78,7 @@ my-distcheck: writable-files po-check
echo "$(distdir).tar.gz is ready for distribution"; \
echo "========================"
-a_host = fencepost.gnu.org
+a_host = alpha.gnu.org
b_host = freefriends.org
alpha_subdir = gnu/fetish
@@ -160,7 +160,18 @@ wget-update:
$(WGET) $(ftp-gnu)/config/config.sub -O $(srcdir)/config.sub
cvs -d $(automake_repo) co -p automake/depcomp > depcomp
-alpha: writable-files po-check
+define emit-rsync-commands
+ echo =====================================
+ echo =====================================
+ echo 'for host in $(a_host) $(b_host); do \'
+ echo ' rsync -e ssh --pro -av $(xd-delta) $(distdir).tar.gz \'
+ echo ' $$host/$(real_dir); done'
+ echo '# send the /tmp/announcement e-mail'
+ echo =====================================
+ echo =====================================
+endef
+
+alpha:
$(MAKE) cvs-dist
$(MAKE) -s announcement > /tmp/announce-$(distdir)
ln $(distdir).tar.gz ../release
@@ -171,11 +182,4 @@ alpha: writable-files po-check
chmod a-w $(release-archive-dir)/$(xd-delta)
echo $(VERSION) > $(prev_version_file)
cvs ci -m. $(prev_version_file)
- @echo =====================================
- @echo =====================================
- @echo 'for host in $(a_host) $(b_host); do \'
- @echo ' rsync -e ssh --pro -av $(xd-delta) $(distdir).tar.gz \'
- @echo ' $$host/$(real_dir); done'
- @echo '# send the /tmp/announcement e-mail'
- @echo =====================================
- @echo =====================================
+ @$(emit-rsync-commands)