Merge branch 'master' of git://git.sv.gnu.org/automake
[automake/plouj.git] / doc / Makefile.am
blob11e86e7177667dc467cc162c3b24c865967fde63
1 ## Process this file with automake to create Makefile.in
3 ## Makefile for Automake.
5 ## Copyright (C) 2003, 2006  Free Software Foundation, Inc.
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 3, or (at your option)
10 ## any later version.
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.
17 ## You should have received a copy of the GNU General Public License
18 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 info_TEXINFOS = automake.texi
21 automake_TEXINFOS = fdl.texi
23 # The following requires a fixed version of the Emacs 19.30 etags.
24 ETAGS_ARGS = --lang=none \
25  --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
26 TAGS_DEPENDENCIES = automake.texi
28 amhello_sources = \
29   amhello/configure.ac \
30   amhello/Makefile.am \
31   amhello/README \
32   amhello/src/main.c \
33   amhello/src/Makefile.am
35 amhello_configury = \
36   aclocal.m4 \
37   autom4te.cache \
38   Makefile.in \
39   config.h.in \
40   configure \
41   depcomp \
42   install-sh \
43   missing \
44   src/Makefile.in
46 dist_noinst_DATA = $(amhello_sources)
47 dist_doc_DATA = $(srcdir)/amhello-1.0.tar.gz
49 # We depend on configure.ac so that we regenerate the tarball
50 # whenever the Automake version changes.
51 # aclocal-$(APIVERSION) and automake-$(APIVERSION) are generated by
52 # configure in tests/.
53 $(srcdir)/amhello-1.0.tar.gz: $(amhello_sources) $(top_srcdir)/configure.ac
54         PATH="`pwd`/../tests$(PATH_SEPARATOR)$$PATH" && \
55         export PATH && \
56         cd $(srcdir)/amhello && \
57         ACLOCAL=aclocal-$(APIVERSION) AUTOMAKE=automake-$(APIVERSION) \
58         autoreconf -vfi && \
59         ./configure && \
60         $(MAKE) $(AM_MAKEFLAGS) distcheck && \
61         $(MAKE) $(AM_MAKEFLAGS) distclean && \
62         rm -rf $(amhello_configury) && \
63         mv amhello-1.0.tar.gz ..