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, 2006,
6
## 2008, 2009 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)
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, see <http://www.gnu.org/licenses/>.
21
m4datadir = $(datadir)/aclocal-$(APIVERSION)
24
$(top_srcdir)/m4/amversion.m4 \
62
EXTRA_DIST = dirlist amversion.in
64
# We build amversion.m4 here, instead of from config.status,
65
# because config.status is rerun each time one of configure's
66
# dependencies change and amversion.m4 happens to be a configure
67
# dependency. configure and amversion.m4 would be rebuilt in
69
# Use `$(top_srcdir)/m4' for the benefit of non-GNU makes: this is
70
# how amversion.m4 appears in our dependencies.
71
$(top_srcdir)/m4/amversion.m4: $(srcdir)/amversion.in
72
sed -e 's,[@]VERSION[@],$(VERSION),g' \
73
-e 's,[@]APIVERSION[@],$(APIVERSION),g' \
74
-e "s,[@]configure_input[@],Generated from amversion.in; do not edit by hand.,g" \
75
$(srcdir)/amversion.in > $@t