* bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
[autoconf.git] / man / Makefile.am
blob5dc6c91ea6cb150ba5d2134708958e081d97751f
1 ## Process this file with automake to create Makefile.in -*-Makefile-*-
3 ## Makefile for Autoconf.
4 ## Copyright 2001 Free Software Foundation, Inc.
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2, or (at your option)
9 ## any later version.
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software
18 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 ## 02111-1307, USA.
21 dist_man_MANS = autoconf.1 autoreconf.1 autoheader.1 autoupdate.1 ifnames.1 \
22 autoscan.1 autom4te.1 config.guess.1 config.sub.1
24 man_aux = autoconf.x autoreconf.x autoheader.x autoupdate.x ifnames.x \
25 autoscan.x autom4te.x config.guess.x config.sub.x
27 EXTRA_DIST = $(man_aux) common.x
28 MAINTAINERCLEANFILES = $(dist_man_MANS)
30 # Depend on configure.ac to get version number changes.
31 common_dep = $(top_srcdir)/configure.ac $(srcdir)/common.x
32 binsrcdir = $(top_srcdir)/bin
33 autoconf.1:   $(common_dep) $(srcdir)/autoconf.x   $(binsrcdir)/autoconf.in
34 autoheader.1: $(common_dep) $(srcdir)/autoheader.x $(binsrcdir)/autoheader.in
35 autom4te.1:   $(common_dep) $(srcdir)/autom4te.x   $(binsrcdir)/autom4te.in
36 autoreconf.1: $(common_dep) $(srcdir)/autoreconf.x $(binsrcdir)/autoreconf.in
37 autoscan.1:   $(common_dep) $(srcdir)/autoscan.x   $(binsrcdir)/autoscan.in
38 autoupdate.1: $(common_dep) $(srcdir)/autoupdate.x $(binsrcdir)/autoupdate.in
39 ifnames.1:    $(common_dep) $(srcdir)/ifnames.x    $(binsrcdir)/ifnames.in
41 # Independent from this package.
42 config.guess.1: $(srcdir)/config.guess.x  $(top_srcdir)/config/config.guess
43 config.sub.1:   $(srcdir)/config.sub.x    $(top_srcdir)/config/config.sub
45 SUFFIXES = .x .1
47 .x.1:
48         echo "Updating man page $@"
49         PATH="$(top_builddir)/tests@PATH_SEPARATOR@$(top_srcdir)/config@PATH_SEPARATOR@$$PATH"; \
50         export PATH; \
51         $(HELP2MAN) \
52             --include=$(srcdir)/$*.x \
53             --include=$(srcdir)/common.x \
54             --output=$@ $*