* configure.ac, NEWS: Bump version to 1.8.0c.
[automake.git] / m4 / Makefile.am
blobc4970cb9c6e21fb9f67a0e417960e46aab7488e0
1 ## Process this file with automake to create Makefile.in
3 ## Makefile for Automake m4.
5 ## Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
6 ## Free 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)
11 ## any later version.
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., 59 Temple Place - Suite 330, Boston, MA
21 ## 02111-1307, USA.
23 m4datadir = $(datadir)/aclocal-$(APIVERSION)
25 dist_m4data_DATA = \
26 $(top_srcdir)/m4/amversion.m4 \
27 as.m4 \
28 auxdir.m4 \
29 ccstdc.m4 \
30 cond.m4 \
31 depend.m4 \
32 depout.m4 \
33 dmalloc.m4 \
34 gcj.m4 \
35 header.m4 \
36 init.m4 \
37 install-sh.m4 \
38 lead-dot.m4 \
39 lex.m4 \
40 lispdir.m4 \
41 maintainer.m4 \
42 make.m4 \
43 minuso.m4 \
44 missing.m4 \
45 mkdirp.m4 \
46 multi.m4 \
47 obsol-gt.m4 \
48 obsol-lt.m4 \
49 obsolete.m4 \
50 options.m4 \
51 protos.m4 \
52 python.m4 \
53 regex.m4 \
54 runlog.m4 \
55 sanity.m4 \
56 strip.m4
58 EXTRA_DIST = dirlist amversion.in
60 # We build amversion.m4 here, instead of from config.status,
61 # because config.status is rerun each time one of configure's
62 # dependencies change and amversion.m4 happens to be a configure
63 # dependency.  configure and amversion.m4 would be rebuilt in
64 # loop otherwise.
65 # Use `$(top_srcdir)/m4' for the benefit of non-GNU makes: this is
66 # how amversion.m4 appears in our dependencies.
67 $(top_srcdir)/m4/amversion.m4: $(srcdir)/amversion.in
68         sed -e 's,[@]VERSION[@],$(VERSION),g' \
69             -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
70             -e "s,[@]configure_input[@],Generated from amversion.in; do not edit by hand.,g" \
71             $(srcdir)/amversion.in > $@t
72         chmod a-w $@t
73         mv -f $@t $@