-# -*- makefile -*-
-## Customize Makefile.maint.
+# Customize Makefile.maint. -*- makefile -*-
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+# Use alpha.gnu.org for alpha and beta releases.
+# Use ftp.gnu.org for major releases.
+gnu_ftp_host-alpha = alpha.gnu.org
+gnu_ftp_host-beta = alpha.gnu.org
+gnu_ftp_host-major = ftp.gnu.org
+gnu_rel_host = $(gnu_ftp_host-$(RELEASE_TYPE))
url_dir_list = \
- ftp://alpha.gnu.org/gnu/fetish \
- http://fetish.sf.net \
+ ftp://$(gnu_rel_host)/gnu/coreutils
# Files to update automatically.
wget_files = \
- $(srcdir)/config/config.guess \
- $(srcdir)/config/config.sub \
- $(srcdir)/config/texinfo.tex
+ $(srcdir)/build-aux/config.guess \
+ $(srcdir)/build-aux/config.sub \
+ $(srcdir)/build-aux/texinfo.tex
+# Of the above, texinfo.tex is out of date,
+# and the other two are not available.
+wget_files =
cvs_files = \
- $(srcdir)/config/elisp-comp \
- $(srcdir)/config/mdate-sh \
- $(srcdir)/config/missing \
- $(srcdir)/config/install-sh \
- $(srcdir)/config/mkinstalldirs
+ $(srcdir)/build-aux/elisp-comp \
+ $(srcdir)/build-aux/depcomp \
+ $(srcdir)/build-aux/mdate-sh \
+ $(srcdir)/build-aux/missing \
+ $(srcdir)/build-aux/install-sh \
+ $(srcdir)/build-aux/mkinstalldirs
# $(srcdir)/src/ansi2knr.c
local_updates = wget-update cvs-update
-###############################################
-
-# FIXME: CAUTION this list is a duplicate of one in lib/Makefile.am.
-io_functions = \
- clearerr feof ferror fflush fgets fputc fputs \
- fread fwrite getc getchar putc putchar
-unlocked_io_functions = $(patsubst %,%_unlocked,$(io_functions))
-
-comma_separated = $(shell echo $(unlocked_io_functions)|tr -s ' ' ,)
-
-# This temp file may not be e.g., $@t, since that may be in a read-only
-# directory. Instead, use a file in the current directory.
-t_io = $(notdir $@)t
-
-# This rule requires GNU make.
-$(srcdir)/m4/jm-glibc-io.m4: $(srcdir)/m4/jm-glibc-io.m4n Makefile.cfg
- echo dnl This file is automatically generated from $(notdir $<). \
- > $(t_io)
- echo >> $(t_io)
- sed \
- -e 's/@space_separated@/$(unlocked_io_functions)/g' \
- -e 's/@comma_separated@/$(comma_separated)/g' \
- $< >> $(t_io)
- mv $(t_io) $@
+# Tests not to run.
+local-checks-to-skip =