diff options
author | Jim Meyering <jim@meyering.net> | 2001-02-11 16:24:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-02-11 16:24:01 +0000 |
commit | 88287082b0f62d7daf9c58e10ee75dec52a7aa20 (patch) | |
tree | ef19839c16969e3fa2cef4a7c46f16f5f571a594 /Makefile.maint | |
parent | 787421de85c8dac8711a67cd3792666dfbbfa588 (diff) | |
download | coreutils-88287082b0f62d7daf9c58e10ee75dec52a7aa20.tar.gz coreutils-88287082b0f62d7daf9c58e10ee75dec52a7aa20.tar.bz2 coreutils-88287082b0f62d7daf9c58e10ee75dec52a7aa20.zip |
(emit-rsync-commands): Define.
(alpha): Use it here.
Diffstat (limited to 'Makefile.maint')
-rw-r--r-- | Makefile.maint | 24 |
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) |