]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(gnu_rel_host): Define in terms of $(RELEASE_TYPE) instead.
authorJim Meyering <jim@meyering.net>
Sat, 15 Mar 2003 10:18:21 +0000 (10:18 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 15 Mar 2003 10:18:21 +0000 (10:18 +0000)
Makefile.cfg

index 819d455995ecf3ba2601a12383c7f318f347369c..1257140a987b495e29dae04d3a3f0a4bdf9719e9 100644 (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 \