]> git.saurik.com Git - bison.git/blob - Makefile.am
* Makefile.maint: Sync with Autoconf:
[bison.git] / Makefile.am
1 ## Process this file with automake to create Makefile.in. -*-Makefile-*-
2
3 ## Makefile for Autoconf.
4 ## Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
5
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2, or (at your option)
9 ## any later version.
10
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ## GNU General Public License for more details.
15
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software
18 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 ## 02111-1307, USA.
20
21 AUTOMAKE_OPTIONS = check-news 1.6c dist-bzip2 readme-alpha
22
23 # bin/ and tests/ must be run first, as they build the tests executables
24 # (tests/autom4te etc.), that we happen to use here.
25 SUBDIRS = bin tests . lib config man doc
26
27 ACLOCAL_AMFLAGS = -I config
28
29 EXTRA_DIST = ChangeLog.0 ChangeLog.1 ChangeLog.2 \
30 BUGS \
31 GNUmakefile Makefile.maint
32
33 MAINTAINERCLEANFILES = INSTALL
34
35 ## -------------------- ##
36 ## Forwarding targets. ##
37 ## -------------------- ##
38
39 html:
40 cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
41
42 .PHONY: html
43
44
45 ## --------- ##
46 ## INSTALL. ##
47 ## --------- ##
48
49 pkgdata_DATA = INSTALL
50 AM_MAKEINFOFLAGS = --no-headers --no-validate --no-split
51 INSTALL: $(top_srcdir)/doc/install.texi
52 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -o $(srcdir)/INSTALL \
53 $(top_srcdir)/doc/install.texi
54
55 ## maintainer-check ##
56 maintainer-check: maintainer-check-tests
57 maintainer-check-tests:
58 cd tests && make maintainer-check
59
60
61
62 ## ---------------------------- ##
63 ## Customizing Makefile.maint. ##
64 ## ---------------------------- ##
65
66 prev_version_file = $(srcdir)/config/prev-version.txt
67 move_if_change = $(srcdir)/config/move-if-change
68 release_archive_dir = releases
69
70 url_dir_list = \
71 ftp://alpha.gnu.org/gnu/autoconf
72
73 # Files to update automatically.
74 wget_files = $(srcdir)/config/config.guess $(srcdir)/config/config.sub \
75 $(srcdir)/config/texinfo.tex \
76 $(srcdir)/doc/standards.texi $(srcdir)/doc/make-stds.texi
77 cvs_files = $(srcdir)/config/elisp-comp \
78 $(srcdir)/config/mdate-sh \
79 $(srcdir)/config/missing \
80 $(srcdir)/config/install-sh \
81 $(srcdir)/config/mkinstalldirs
82 local_updates = wget-update cvs-update