Document m4_map_args.
[autoconf.git] / cfg.mk
blobc4bbb4fe754ceac94aa5f0548a8f02239522b39d
1 # Customize maint.mk for Autoconf. -*- Makefile -*-
2 # Copyright (C) 2003, 2004, 2006, 2008 Free Software Foundation, Inc.
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 # This file is '-include'd into GNUmakefile.
19 # Build with our own versions of these tools, when possible.
20 export PATH = $(shell echo "`pwd`/tests:$$PATH")
22 # Remove the autoreconf-provided INSTALL, so that we regenerate it.
23 _autoreconf = autoreconf -i -v && rm -f INSTALL
25 # Version management.
26 announce_gen = $(srcdir)/build-aux/announce-gen
28 # Use alpha.gnu.org for alpha and beta releases.
29 # Use ftp.gnu.org for major releases.
30 gnu_ftp_host-alpha = alpha.gnu.org
31 gnu_ftp_host-beta = alpha.gnu.org
32 gnu_ftp_host-major = ftp.gnu.org
33 gnu_rel_host = $(gnu_ftp_host-$(RELEASE_TYPE))
35 url_dir_list = \
36 ftp://$(gnu_rel_host)/gnu/autoconf
38 # The GnuPG ID of the key used to sign the tarballs.
39 gpg_key_ID = F4850180
41 # The local directory containing the checked-out copy of gnulib used in this
42 # release.
43 gnulib_dir = '$(abs_srcdir)'/../gnulib
45 # Update files from gnulib.
46 .PHONY: fetch
47 fetch:
48 cp $(gnulib_dir)/build-aux/announce-gen $(srcdir)/build-aux
49 cp $(gnulib_dir)/build-aux/config.guess $(srcdir)/build-aux
50 cp $(gnulib_dir)/build-aux/config.sub $(srcdir)/build-aux
51 cp $(gnulib_dir)/build-aux/elisp-comp $(srcdir)/build-aux
52 cp $(gnulib_dir)/build-aux/git-version-gen $(srcdir)/build-aux
53 cp $(gnulib_dir)/build-aux/gnupload $(srcdir)/build-aux
54 cp $(gnulib_dir)/build-aux/install-sh $(srcdir)/build-aux
55 cp $(gnulib_dir)/build-aux/mdate-sh $(srcdir)/build-aux
56 cp $(gnulib_dir)/build-aux/missing $(srcdir)/build-aux
57 cp $(gnulib_dir)/build-aux/vc-list-files $(srcdir)/build-aux
58 cp $(gnulib_dir)/build-aux/texinfo.tex $(srcdir)/build-aux
59 cp $(gnulib_dir)/doc/fdl.texi $(srcdir)/doc
60 cp $(gnulib_dir)/doc/make-stds.texi $(srcdir)/doc
61 cp $(gnulib_dir)/doc/standards.texi $(srcdir)/doc
62 cp $(gnulib_dir)/top/GNUmakefile $(srcdir)
64 # Tests not to run.
65 local-checks-to-skip ?= \
66 changelog-check sc_unmarked_diagnostics
68 .PHONY: web-manual
69 web-manual:
70 @cd $(srcdir)/doc ; \
71 GENDOCS_TEMPLATE_DIR=$(gnulib_dir)/doc; export GENDOCS_TEMPLATE_DIR; \
72 $(SHELL) $(gnulib_dir)/build-aux/gendocs.sh autoconf \
73 "$(PACKAGE_NAME) - Creating Automatic Configuration Scripts"
74 @echo " *** Upload the doc/manual directory to web-cvs."