1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
## Process this file with automake to create Makefile.in
## Makefile for Automake m4.
## Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2006,
## 2008, 2009 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
m4datadir = $(datadir)/aclocal-$(APIVERSION)
dist_m4data_DATA = \
$(top_srcdir)/m4/amversion.m4 \
as.m4 \
auxdir.m4 \
ccstdc.m4 \
cond.m4 \
cond-if.m4 \
depend.m4 \
depout.m4 \
dmalloc.m4 \
gcj.m4 \
header.m4 \
init.m4 \
install-sh.m4 \
lead-dot.m4 \
lex.m4 \
lispdir.m4 \
maintainer.m4 \
make.m4 \
minuso.m4 \
missing.m4 \
mkdirp.m4 \
multi.m4 \
obsol-gt.m4 \
obsol-lt.m4 \
obsolete.m4 \
options.m4 \
protos.m4 \
python.m4 \
regex.m4 \
runlog.m4 \
sanity.m4 \
silent.m4 \
strip.m4 \
substnot.m4 \
tar.m4 \
upc.m4 \
vala.m4
EXTRA_DIST = dirlist amversion.in
# We build amversion.m4 here, instead of from config.status,
# because config.status is rerun each time one of configure's
# dependencies change and amversion.m4 happens to be a configure
# dependency. configure and amversion.m4 would be rebuilt in
# loop otherwise.
# Use `$(top_srcdir)/m4' for the benefit of non-GNU makes: this is
# how amversion.m4 appears in our dependencies.
$(top_srcdir)/m4/amversion.m4: $(srcdir)/amversion.in
sed -e 's,[@]VERSION[@],$(VERSION),g' \
-e 's,[@]APIVERSION[@],$(APIVERSION),g' \
-e "s,[@]configure_input[@],Generated from amversion.in; do not edit by hand.,g" \
$(srcdir)/amversion.in > $@t
chmod a-w $@t
mv -f $@t $@
|