1 # Makefile.am for texinfo.
2 # Id: Makefile.am,v 1.13 2004/12/15 16:53:59 kasal Exp
3 # Process this file with automake to produce Makefile.in in all directories.
5 # This file is free software; as a special exception the author gives
6 # unlimited permission to copy and/or distribute it, with or without
7 # modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
11 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 # Be sure we're using the right version of Automake.
14 AUTOMAKE_OPTIONS = 1.8 readme-alpha
16 # Additional files to distribute.
17 EXTRA_DIST = ChangeLog.46 INSTALL.generic INTRODUCTION README.dev \
19 djgpp/README djgpp/config.bat djgpp/config.sed djgpp/config.site
21 # This is to prevent texinfo.tex from being included in the top-level
22 # distribution directory.
23 TEXINFO_TEX = doc/texinfo.tex
26 # Build native tools only.
27 SUBDIRS = lib info makeinfo util
30 # Do intl, m4, and lib first since the C programs depend on them.
31 # Do doc last so makeinfo will be built when we get there.
32 # Others are alphabetical.
33 SUBDIRS = $(native_tools) intl m4 lib info makeinfo po util doc
37 ACLOCAL_AMFLAGS = -I m4
39 # In case TEXINFO_MAINT is set during make distcheck; in this case, the
40 # simple doc-related files generated in info/ make distcleancheck fail.
41 distcleancheck_listfiles = \
42 find -type f -exec sh -c 'test -f $(srcdir)/{} || echo {}' ';'
44 # One special target for installers to use by hand if desired.
46 cd doc && $(MAKE) TEXMF=$(TEXMF) install-tex
49 -test -d "$(native_tools)" && rm -rf "$(native_tools)"
51 # Don't install native tools for cross compile.