OSDN Git Service

maint: adjust the URL that will appear in the generated announcement
authorJim Meyering <meyering@redhat.com>
Thu, 10 Nov 2011 10:54:50 +0000 (11:54 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 10 Nov 2011 10:54:50 +0000 (11:54 +0100)
* cfg.mk (url_dir_list): Use this http://ftp.gnu.org/gnu/$(PACKAGE)
for the first link listed in the generated announcement.
announce-gen now provides the faster mirror link automatically.
Remove now-unnecessary release-related URLs.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index f49a57e..744cf23 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Use alpha.gnu.org for alpha and beta releases.
-# Use ftp.gnu.org for stable releases.
-gnu_ftp_host-alpha = alpha.gnu.org
-gnu_ftp_host-beta = alpha.gnu.org
-gnu_ftp_host-stable = ftp.gnu.org
-gnu_rel_host = $(gnu_ftp_host-$(RELEASE_TYPE))
-
-url_dir_list = \
-  ftp://$(gnu_rel_host)/gnu/parted
-
 # Used in maint.mk's web-manual rule
 manual_title = Parted User's Manual
 
+# Use the direct link.  This is guaranteed to work immediately, while
+# it can take a while for the faster mirror links to become usable.
+url_dir_list = http://ftp.gnu.org/gnu/$(PACKAGE)
+
 # Tests not to run as part of "make distcheck".
 # Exclude changelog-check here so that there's less churn in ChangeLog
 # files -- otherwise, you'd need to have the upcoming version number