summaryrefslogtreecommitdiff
path: root/Build/source/utils/texinfo/Makefile.am
blob: 9e5ffc02f2927bae280d107aefc4676624fe0adf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Makefile.am for texinfo.
# $Id: Makefile.am,v 1.13 2004/12/15 16:53:59 kasal Exp $
# Process this file with automake to produce Makefile.in in all directories.
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# Be sure we're using the right version of Automake.
AUTOMAKE_OPTIONS = 1.8 readme-alpha

# Additional files to distribute.
EXTRA_DIST = ChangeLog.46 INSTALL.generic INTRODUCTION README.dev \
  config.rpath \
  djgpp/README djgpp/config.bat djgpp/config.sed djgpp/config.site

# This is to prevent texinfo.tex from being included in the top-level
# distribution directory.
TEXINFO_TEX = doc/texinfo.tex

if TOOLS_ONLY
  # Build native tools only.
  SUBDIRS = lib info makeinfo util
else
  # All subdirectories.
  # Do intl, m4, and lib first since the C programs depend on them.
  # Do doc last so makeinfo will be built when we get there.
  # Others are alphabetical.
  SUBDIRS = $(native_tools) intl m4 lib info makeinfo po util doc
endif

# for gettext.
ACLOCAL_AMFLAGS = -I m4

# In case TEXINFO_MAINT is set during make distcheck; in this case, the
# simple doc-related files generated in info/ make distcleancheck fail.
distcleancheck_listfiles = \
  find -type f -exec sh -c 'test -f $(srcdir)/{} || echo {}' ';'

# One special target for installers to use by hand if desired.
install-tex:
	cd doc && $(MAKE) TEXMF=$(TEXMF) install-tex

distclean-local:
	-test -d "$(native_tools)" && rm -rf "$(native_tools)"

# Don't install native tools for cross compile.
if TOOLS_ONLY
install:

endif