1 ## Process this file with automake to create Makefile.in. -*-Makefile-*-
3 ## Makefile for Autoconf.
5 ## Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free
6 ## Software Foundation, Inc.
8 ## This program is free software; you can redistribute it and/or modify
9 ## it under the terms of the GNU General Public License as published by
10 ## the Free Software Foundation; either version 2, or (at your option)
13 ## This program is distributed in the hope that it will be useful,
14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ## GNU General Public License for more details.
18 ## You should have received a copy of the GNU General Public License
19 ## along with this program; if not, write to the Free Software
20 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 # bin/ must be run first, as it builds executables needed for tests.
24 # autom4te uses autotest.m4f to generate `testsuite', so build tests last.
25 SUBDIRS = bin . lib man doc tests
27 ACLOCAL_AMFLAGS = -I m4
29 EXTRA_DIST = ChangeLog.0 ChangeLog.1 ChangeLog.2 \
31 GNUmakefile Makefile.maint Makefile.cfg \
32 config/announce-gen config/prev-version.txt
34 MAINTAINERCLEANFILES = $(srcdir)/INSTALL
36 ## -------------------- ##
37 ## Forwarding targets. ##
38 ## -------------------- ##
41 cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
50 pkgdata_DATA = $(srcdir)/INSTALL
51 AM_MAKEINFOFLAGS = --no-headers --no-validate --no-split
52 $(srcdir)/INSTALL: $(top_srcdir)/doc/install.texi
53 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -o $@ \
54 $(top_srcdir)/doc/install.texi
56 ## maintainer-check ##
57 maintainer-check: maintainer-check-tests
58 maintainer-check-tests:
59 cd tests && make maintainer-check
62 ## ----------------------------------- ##
63 ## Updating Perl files from Automake. ##
64 ## ----------------------------------- ##
69 ## Fetch the latest versions of files we care about.
71 http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/automake
73 'content-type=text/plain&cvsroot=automake'
75 Autom4te/Configure_ac.pm \
76 Autom4te/Channels.pm \
77 Autom4te/FileUtils.pm \
82 rm -f -r Fetchdir > /dev/null 2>&1
83 mkdir -p Fetchdir/Autom4te
84 for file in $(autom4te_files); do \
85 $(WGET) $(WGET_FLAGS) \
86 "$(automake_cvsweb)/lib/$file?$(automake_cvsargs)" \
87 -O "Fetchdir/$$file" || exit; \
89 perl -pi -e 's/Automake::/Autom4te::/g' Fetchdir/Autom4te/*.pm
90 for file in $(autom4te_files); do \
91 $(move_if_change) Fetchdir/$$file $(srcdir)/lib/$$file || exit; \