Implement O(n) unique element set creation.
[autoconf.git] / cfg.mk
blob773c335b74f5802d80200fdbf52acae6fb418c23
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/config.guess \
44 $(srcdir)/build-aux/config.sub \
45 $(srcdir)/build-aux/elisp-comp \
46 $(srcdir)/build-aux/install-sh \
47 $(srcdir)/build-aux/mdate-sh \
48 $(srcdir)/build-aux/missing \
50 cvs_files = $(cvs_executable_files) \
51 $(srcdir)/build-aux/texinfo.tex \
52 $(srcdir)/doc/fdl.texi \
53 $(srcdir)/doc/make-stds.texi \
54 $(srcdir)/doc/standards.texi
56 # Keep executables executable. Make it robust to parallel makes.
57 local_updates = executable-update
59 .PHONY: executable-update
60 # autom4te-update is defined in Makefile.am.
61 executable-update: wget-update cvs-update autom4te-update
62 chmod a+x $(cvs_executable_files)
64 # Tests not to run.
65 local-checks-to-skip ?= \
66 changelog-check sc_unmarked_diagnostics
68 # The local directory containing the checked-out copy of gnulib used in this
69 # release. For now, used solely for generating the web-manual.
70 gnulib_dir = '$(abs_srcdir)'/../gnulib
72 .PHONY: web-manual
73 web-manual:
74 @cd $(srcdir)/doc ; \
75 GENDOCS_TEMPLATE_DIR=$(gnulib_dir)/doc; export GENDOCS_TEMPLATE_DIR; \
76 $(SHELL) $(gnulib_dir)/build-aux/gendocs.sh autoconf \
77 "$(PACKAGE_NAME) - Creating Automatic Configuration Scripts"
78 @echo " *** Upload the doc/manual directory to web-cvs."