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