~ubuntu-branches/ubuntu/precise/automake1.11/precise-proposed

« back to all changes in this revision

Viewing changes to m4/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-08-12 02:36:44 UTC
  • Revision ID: james.westby@ubuntu.com-20090812023644-f40we9eqbmx1dpbj
Tags: upstream-1.11
ImportĀ upstreamĀ versionĀ 1.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to create Makefile.in
 
2
 
 
3
## Makefile for Automake m4.
 
4
 
 
5
## Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2006,
 
6
## 2008, 2009 Free Software Foundation, Inc.
 
7
 
 
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.
 
12
 
 
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.
 
17
 
 
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/>.
 
20
 
 
21
m4datadir = $(datadir)/aclocal-$(APIVERSION)
 
22
 
 
23
dist_m4data_DATA = \
 
24
$(top_srcdir)/m4/amversion.m4 \
 
25
as.m4 \
 
26
auxdir.m4 \
 
27
ccstdc.m4 \
 
28
cond.m4 \
 
29
cond-if.m4 \
 
30
depend.m4 \
 
31
depout.m4 \
 
32
dmalloc.m4 \
 
33
gcj.m4 \
 
34
header.m4 \
 
35
init.m4 \
 
36
install-sh.m4 \
 
37
lead-dot.m4 \
 
38
lex.m4 \
 
39
lispdir.m4 \
 
40
maintainer.m4 \
 
41
make.m4 \
 
42
minuso.m4 \
 
43
missing.m4 \
 
44
mkdirp.m4 \
 
45
multi.m4 \
 
46
obsol-gt.m4 \
 
47
obsol-lt.m4 \
 
48
obsolete.m4 \
 
49
options.m4 \
 
50
protos.m4 \
 
51
python.m4 \
 
52
regex.m4 \
 
53
runlog.m4 \
 
54
sanity.m4 \
 
55
silent.m4 \
 
56
strip.m4 \
 
57
substnot.m4 \
 
58
tar.m4 \
 
59
upc.m4 \
 
60
vala.m4
 
61
 
 
62
EXTRA_DIST = dirlist amversion.in
 
63
 
 
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
 
68
# loop otherwise.
 
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
 
76
        chmod a-w $@t
 
77
        mv -f $@t $@