1 ## Process this file with automake to create Makefile.in
3 ## Makefile for Automake.
5 # Copyright (C) 2003, 2006, 2008, 2009, 2012 Free Software Foundation,
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)
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.
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/>.
21 info_TEXINFOS = automake.texi
22 automake_TEXINFOS = fdl.texi
26 $(srcdir)/automake.1 \
27 $(srcdir)/aclocal-$(APIVERSION).1 \
28 $(srcdir)/automake-$(APIVERSION).1
29 MAINTAINERCLEANFILES = $(dist_man1_MANS)
31 PATH="`pwd`/../tests$(PATH_SEPARATOR)$$PATH" && \
33 $(HELP2MAN) --output=$@
34 $(dist_man1_MANS): $(top_srcdir)/configure.ac
35 $(srcdir)/aclocal.1 $(srcdir)/automake.1:
36 f=`echo $@ | sed 's|.*/||; s|\.1$$||; $(transform)'`; \
37 echo ".so man1/$$f-$(APIVERSION).1" > $@
38 $(srcdir)/aclocal-$(APIVERSION).1: $(srcdir)/../aclocal.in
39 $(update_mans) aclocal-$(APIVERSION)
40 $(srcdir)/automake-$(APIVERSION).1: $(srcdir)/../automake.in
41 $(update_mans) automake-$(APIVERSION)
43 # The following requires a fixed version of the Emacs 19.30 etags.
44 ETAGS_ARGS = --lang=none \
45 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
46 TAGS_DEPENDENCIES = automake.texi
49 amhello/configure.ac \
53 amhello/src/Makefile.am
66 dist_noinst_DATA = $(amhello_sources)
67 dist_doc_DATA = $(srcdir)/amhello-1.0.tar.gz
69 # We depend on configure.ac so that we regenerate the tarball
70 # whenever the Automake version changes.
71 # aclocal-$(APIVERSION) and automake-$(APIVERSION) are generated by
72 # configure in tests/.
73 $(srcdir)/amhello-1.0.tar.gz: $(amhello_sources) $(top_srcdir)/configure.ac
74 $(AM_V_GEN)abs_top_builddir=`cd '$(top_builddir)' && pwd` && \
75 PATH="$$abs_top_builddir/tests$(PATH_SEPARATOR)$$PATH" && \
77 cd $(srcdir)/amhello && \
78 ACLOCAL=aclocal-$(APIVERSION) && export ACLOCAL && \
79 AUTOMAKE=automake-$(APIVERSION) && export AUTOMAKE && \
80 AUTOCONF='$(am_AUTOCONF)' && export AUTOCONF && \
81 AUTOM4TE='$(am_AUTOM4TE)' && export AUTOM4TE && \
82 AUTORECONF='$(am_AUTORECONF)' && export AUTORECONF && \
83 AUTOHEADER='$(am_AUTOHEADER)' && export AUTOHEADER && \
84 AUTOUPDATE='$(am_AUTOUPDATE)' && export AUTOUPDATE && \
85 $(am_AUTORECONF) -vfi && \
87 $(MAKE) $(AM_MAKEFLAGS) distcheck && \
88 $(MAKE) $(AM_MAKEFLAGS) distclean && \
89 rm -rf $(amhello_configury) && \
90 mv amhello-1.0.tar.gz ..