1
1
# Makefile.am for texinfo.
2
# $Id: Makefile.am,v 1.23 2002/02/25 18:11:14 karl Exp $
2
# $Id: Makefile.am,v 1.13 2004/12/15 16:53:59 kasal Exp $
3
3
# Process this file with automake to produce Makefile.in in all directories.
5
5
# This file is free software; as a special exception the author gives
11
11
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
13
# Be sure we're using the right version of Automake.
14
AUTOMAKE_OPTIONS = 1.4 readme-alpha
14
AUTOMAKE_OPTIONS = 1.8 readme-alpha
16
16
# Additional files to distribute.
17
EXTRA_DIST = COPYING.DOC INTRODUCTION config.rpath dir-example djgpp
17
EXTRA_DIST = ChangeLog.46 INSTALL.generic INTRODUCTION README.dev \
19
djgpp/README djgpp/config.bat djgpp/config.sed djgpp/config.site
19
21
# This is to prevent texinfo.tex from being included in the top-level
20
22
# distribution directory.
21
23
TEXINFO_TEX = doc/texinfo.tex
24
# Do intl, m4, and lib first since the C programs depend on them.
25
# Do doc last so makeinfo will be built when we get there.
26
# Others are alphabetical.
27
SUBDIRS = intl m4 lib info makeinfo po util doc
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
30
37
ACLOCAL_AMFLAGS = -I m4
32
# One special target for them to use by hand.
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.
34
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.