Resync from gnulib.
[autoconf.git] / cfg.mk
blob54da291c0ba48fc7442e26363277abc2423d9b1a
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 # Files to update automatically.
42 cvs_executable_files = \
43 $(srcdir)/build-aux/announce-gen \
44 $(srcdir)/build-aux/config.guess \
45 $(srcdir)/build-aux/config.sub \
46 $(srcdir)/build-aux/elisp-comp \
47 $(srcdir)/build-aux/git-version-gen \
48 $(srcdir)/build-aux/gnupload \
49 $(srcdir)/build-aux/install-sh \
50 $(srcdir)/build-aux/mdate-sh \
51 $(srcdir)/build-aux/missing \
52 $(srcdir)/build-aux/vc-list-files
54 cvs_files = $(cvs_executable_files) \
55 $(srcdir)/build-aux/texinfo.tex \
56 $(srcdir)/doc/fdl.texi \
57 $(srcdir)/doc/make-stds.texi \
58 $(srcdir)/doc/standards.texi \
59 $(srcdir)/GNUmakefile
61 # Keep executables executable. Make it robust to parallel makes.
62 local_updates = executable-update
64 .PHONY: executable-update
65 # autom4te-update is defined in Makefile.am.
66 executable-update: wget-update cvs-update autom4te-update
67 chmod a+x $(cvs_executable_files)
69 # Tests not to run.
70 local-checks-to-skip ?= \
71 changelog-check sc_unmarked_diagnostics
73 # The local directory containing the checked-out copy of gnulib used in this
74 # release. For now, used solely for generating the web-manual.
75 gnulib_dir = '$(abs_srcdir)'/../gnulib
77 .PHONY: web-manual
78 web-manual:
79 @cd $(srcdir)/doc ; \
80 GENDOCS_TEMPLATE_DIR=$(gnulib_dir)/doc; export GENDOCS_TEMPLATE_DIR; \
81 $(SHELL) $(gnulib_dir)/build-aux/gendocs.sh autoconf \
82 "$(PACKAGE_NAME) - Creating Automatic Configuration Scripts"
83 @echo " *** Upload the doc/manual directory to web-cvs."