diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-15 10:18:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-15 10:18:21 +0000 |
commit | ba8161db2b241249fed570696dda33f5eeee189e (patch) | |
tree | 7e5179a8a1dbb1d24cadeb109d5023071db47024 | |
parent | cb8af7fe269cc933eb5d12af5109f274ee11a193 (diff) | |
download | coreutils-ba8161db2b241249fed570696dda33f5eeee189e.tar.xz |
(gnu_rel_host): Define in terms of $(RELEASE_TYPE) instead.
-rw-r--r-- | Makefile.cfg | 11 |
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 \ |