summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-02-07 13:47:41 +0000
committerJim Meyering <jim@meyering.net>2004-02-07 13:47:41 +0000
commitc5a8961c5bbc3b267439a3c1e857b18fbfbb3490 (patch)
treef8bf2a86a2dc29f91024d6643c09e1424d114c5f
parent25a8abf2eeb6ee010df7e168d27bbd04f85277d9 (diff)
downloadcoreutils-c5a8961c5bbc3b267439a3c1e857b18fbfbb3490.tar.xz
(emit_upload_commands): new target
(alpha beta major): `$(MAKE)' it.
-rw-r--r--Makefile.maint23
1 files changed, 11 insertions, 12 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 1c9a5517f..248ae73aa 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -495,17 +495,16 @@ cvs-update:
done; \
test "$$fail" && exit 1
-define emit-upload-commands
- echo =====================================
- echo =====================================
- echo "$(srcdir)/gnupload $(GNUPLOADFLAGS) \\"
- echo " --to fetish.sf.net:fetish-ftp \\"
- echo " --to $(gnu_rel_host):coreutils \\"
- echo " $(rel-files)"
- echo '# send the /tmp/announcement e-mail'
- echo =====================================
- echo =====================================
-endef
+emit_upload_commands:
+ @echo =====================================
+ @echo =====================================
+ @echo "$(srcdir)/gnupload $(GNUPLOADFLAGS) \\"
+ @echo " --to fetish.sf.net:fetish-ftp \\"
+ @echo " --to $(gnu_rel_host):coreutils \\"
+ @echo " $(rel-files)"
+ @echo '# send the /tmp/announcement e-mail'
+ @echo =====================================
+ @echo =====================================
$(xd-delta): $(release_archive_dir)/$(prev-tgz) $(distdir).tar.gz
xdelta delta -9 $^ $@ || :
@@ -519,4 +518,4 @@ alpha beta major: news-date-check $(local-check)
chmod a-w $(rel-files)
echo $(VERSION) > $(prev_version_file)
$(CVS) ci -m. $(prev_version_file)
- @$(emit-upload-commands)
+ $(MAKE) -s emit_upload_commands RELEASE_TYPE=$@