(gnu_rel_host): Define in terms of $(RELEASE_TYPE) instead.

This commit is contained in:
Jim Meyering committed 2003-03-15 10:18:21 +00:00
1 parent cb8af7fe26
commit ba8161db2b
1 file changed
+6 -5
+6 -5
View File
@@ -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 \