mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-07-28 19:39:52 +02:00
(gnu_rel_host): Define.
(url_dir_list): Choose from (alpha|ftp).gnu.org depending on whether $(VERSION) looks like a major release number.
This commit is contained in:
+7
-1
@@ -1,8 +1,14 @@
|
||||
# -*- 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"')
|
||||
|
||||
url_dir_list = \
|
||||
ftp://alpha.gnu.org/gnu/fetish \
|
||||
ftp://$(gnu_rel_host).gnu.org/gnu/fetish \
|
||||
http://fetish.sf.net \
|
||||
|
||||
# Files to update automatically.
|
||||
|
||||
Reference in New Issue
Block a user