summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.cfg11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.cfg b/Makefile.cfg
index 819d45599..1257140a9 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 \