# -*- 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 \