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)
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
29 amhello/configure.ac \
33 amhello/src/Makefile.am
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" && \
56 cd $(srcdir)/amhello && \
57 ACLOCAL=aclocal-$(APIVERSION) AUTOMAKE=automake-$(APIVERSION) \
60 $(MAKE) $(AM_MAKEFLAGS) distcheck && \
61 $(MAKE) $(AM_MAKEFLAGS) distclean && \
62 rm -rf $(amhello_configury) && \
63 mv amhello-1.0.tar.gz ..