1 ## Process this file with automake to create Makefile.in
3 ## Makefile for Automake.
5 ## Copyright (C) 2003, 2006, 2008 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
25 $(srcdir)/automake.1 \
26 $(srcdir)/aclocal-$(APIVERSION).1 \
27 $(srcdir)/automake-$(APIVERSION).1
28 MAINTAINERCLEANFILES = $(dist_man1_MANS)
30 PATH="`pwd`/../tests$(PATH_SEPARATOR)$$PATH" && \
32 $(HELP2MAN) --output=$@
33 $(dist_man1_MANS): $(top_srcdir)/configure.ac
34 $(srcdir)/aclocal.1 $(srcdir)/automake.1:
35 f=`echo $@ | sed 's|.*/||; s|\.1$$||; $(transform)'`; \
36 echo ".so man1/$$f-$(APIVERSION).1" > $@
37 $(srcdir)/aclocal-$(APIVERSION).1: $(srcdir)/../aclocal.in
38 $(update_mans) aclocal-$(APIVERSION)
39 $(srcdir)/automake-$(APIVERSION).1: $(srcdir)/../automake.in
40 $(update_mans) automake-$(APIVERSION)
42 # The following requires a fixed version of the Emacs 19.30 etags.
43 ETAGS_ARGS = --lang=none \
44 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
45 TAGS_DEPENDENCIES = automake.texi
48 amhello/configure.ac \
52 amhello/src/Makefile.am
65 dist_noinst_DATA = $(amhello_sources)
66 dist_doc_DATA = $(srcdir)/amhello-1.0.tar.gz
68 # We depend on configure.ac so that we regenerate the tarball
69 # whenever the Automake version changes.
70 # aclocal-$(APIVERSION) and automake-$(APIVERSION) are generated by
71 # configure in tests/.
72 $(srcdir)/amhello-1.0.tar.gz: $(amhello_sources) $(top_srcdir)/configure.ac
73 PATH="`pwd`/../tests$(PATH_SEPARATOR)$$PATH" && \
75 cd $(srcdir)/amhello && \
76 ACLOCAL=aclocal-$(APIVERSION) AUTOMAKE=automake-$(APIVERSION) \
79 $(MAKE) $(AM_MAKEFLAGS) distcheck && \
80 $(MAKE) $(AM_MAKEFLAGS) distclean && \
81 rm -rf $(amhello_configury) && \
82 mv amhello-1.0.tar.gz ..