From ba8161db2b241249fed570696dda33f5eeee189e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 15 Mar 2003 10:18:21 +0000 Subject: [PATCH] (gnu_rel_host): Define in terms of $(RELEASE_TYPE) instead. --- Makefile.cfg | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile.cfg b/Makefile.cfg index 819d455995..1257140a98 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -1,11 +1,12 @@ # -*- makefile -*- ## Customize Makefile.maint. -# If the version number matches /^\d+.\d+.\d$/ or /[a-z]$/, use alpha.gnu.org. -# Otherwise, use ftp.gnu.org. -gnu_rel_host := \ - $(shell perl -e \ - 'print "$(VERSION)" =~ /^(\d+\.\d+\.\d+|.*[a-z])$$/ ? "alpha" : "ftp"') +# Use alpha.gnu.org for alpha and beta releases. +# Use ftp.gnu.org for major releases. +gnu_ftp_host-alpha = alpha +gnu_ftp_host-beta = alpha +gnu_ftp_host-major = ftp +gnu_rel_host = gnu_ftp_host-$(RELEASE_TYPE) url_dir_list = \ ftp://$(gnu_rel_host).gnu.org/gnu/coreutils \ -- 2.47.3