1# Makefile.am for texinfo. 2# $Id: Makefile.am,v 1.5 2006/07/17 16:12:35 espie Exp $ 3# Process this file with automake to produce Makefile.in in all directories. 4# 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. 8# 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. 12 13# Be sure we're using the right version of Automake. 14AUTOMAKE_OPTIONS = 1.8 readme-alpha 15 16# Additional files to distribute. 17EXTRA_DIST = ChangeLog.46 INSTALL.generic INTRODUCTION README.dev \ 18 config.rpath \ 19 djgpp/README djgpp/config.bat djgpp/config.sed djgpp/config.site 20 21# This is to prevent texinfo.tex from being included in the top-level 22# distribution directory. 23TEXINFO_TEX = doc/texinfo.tex 24 25if TOOLS_ONLY 26 # Build native tools only. 27 SUBDIRS = lib info makeinfo util 28else 29 # All subdirectories. 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 34endif 35 36# for gettext. 37ACLOCAL_AMFLAGS = -I m4 38 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. 41distcleancheck_listfiles = \ 42 find -type f -exec sh -c 'test -f $(srcdir)/{} || echo {}' ';' 43 44# One special target for installers to use by hand if desired. 45install-tex: 46 cd doc && $(MAKE) TEXMF=$(TEXMF) install-tex 47 48distclean-local: 49 -test -d "$(native_tools)" && rm -rf "$(native_tools)" 50 51# Don't install native tools for cross compile. 52if TOOLS_ONLY 53install: 54 55endif 56