1 | ## Process this file with automake to create Makefile.in
|
---|
2 |
|
---|
3 | ## Makefile for Automake.
|
---|
4 |
|
---|
5 | ## Copyright (C) 2003, 2006 Free Software Foundation, Inc.
|
---|
6 |
|
---|
7 | ## This program is free software; you can redistribute it and/or modify
|
---|
8 | ## it under the terms of the GNU General Public License as published by
|
---|
9 | ## the Free Software Foundation; either version 2, or (at your option)
|
---|
10 | ## any later version.
|
---|
11 |
|
---|
12 | ## This program is distributed in the hope that it will be useful,
|
---|
13 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
14 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
15 | ## GNU General Public License for more details.
|
---|
16 |
|
---|
17 | ## You should have received a copy of the GNU General Public License
|
---|
18 | ## along with this program; if not, write to the Free Software
|
---|
19 | ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
---|
20 | ## 02110-1301, USA.
|
---|
21 |
|
---|
22 | info_TEXINFOS = automake.texi
|
---|
23 | automake_TEXINFOS = fdl.texi
|
---|
24 |
|
---|
25 | # The following requires a fixed version of the Emacs 19.30 etags.
|
---|
26 | ETAGS_ARGS = --lang=none \
|
---|
27 | --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
|
---|
28 | TAGS_DEPENDENCIES = automake.texi
|
---|
29 |
|
---|
30 | amhello_sources = \
|
---|
31 | amhello/configure.ac \
|
---|
32 | amhello/Makefile.am \
|
---|
33 | amhello/README \
|
---|
34 | amhello/src/main.c \
|
---|
35 | amhello/src/Makefile.am
|
---|
36 |
|
---|
37 | amhello_configury = \
|
---|
38 | aclocal.m4 \
|
---|
39 | autom4te.cache \
|
---|
40 | Makefile.in \
|
---|
41 | config.h.in \
|
---|
42 | configure \
|
---|
43 | depcomp \
|
---|
44 | install-sh \
|
---|
45 | missing \
|
---|
46 | src/Makefile.in
|
---|
47 |
|
---|
48 | dist_noinst_DATA = $(amhello_sources)
|
---|
49 | dist_doc_DATA = $(srcdir)/amhello-1.0.tar.gz
|
---|
50 |
|
---|
51 | # We depend on configure.ac so that we regenerate the tarball
|
---|
52 | # whenever the Automake version changes.
|
---|
53 | # aclocal-$(APIVERSION) and automake-$(APIVERSION) are generated by
|
---|
54 | # configure in tests/.
|
---|
55 | $(srcdir)/amhello-1.0.tar.gz: $(amhello_sources) $(top_srcdir)/configure.ac
|
---|
56 | PATH="`pwd`/../tests$(PATH_SEPARATOR)$$PATH" && \
|
---|
57 | export PATH && \
|
---|
58 | cd $(srcdir)/amhello && \
|
---|
59 | ACLOCAL=aclocal-$(APIVERSION) AUTOMAKE=automake-$(APIVERSION) \
|
---|
60 | autoreconf -vfi && \
|
---|
61 | ./configure && \
|
---|
62 | make distcheck && \
|
---|
63 | make distclean && \
|
---|
64 | rm -rf $(amhello_configury) && \
|
---|
65 | mv amhello-1.0.tar.gz ..
|
---|