xref: /netbsd-src/external/gpl2/gettext/dist/gettext-runtime/Makefile.am (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1## Makefile for the gettext-runtime directory of GNU gettext
2## Copyright (C) 1995-1999, 2000-2006 Free Software Foundation, Inc.
3##
4## This program is free software; you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; either version 2, or (at your option)
7## any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program; if not, write to the Free Software Foundation,
16## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
18## Process this file with automake to produce Makefile.in.
19
20AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
21ACLOCAL_AMFLAGS = -I m4 -I ../autoconf-lib-link/m4 -I ../m4 -I gnulib-m4
22
23MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@
24
25# The list of subdirectories depends on whether --disable-libasprintf was
26# specified.
27if ENABLE_LIBASPRINTF
28SUBDIR_libasprintf = libasprintf
29else
30SUBDIR_libasprintf =
31endif
32SUBDIRS = doc intl intl-java intl-csharp gnulib-lib $(SUBDIR_libasprintf) src po m4
33
34EXTRA_DIST = BUGS
35
36
37# Files installed for the user and for use by gettextize.
38
39gettextsrcdir = $(datadir)/gettext
40gettextsrc_DATA = ABOUT-NLS
41
42
43all-local: ABOUT-NLS
44
45ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi
46	rm -f $(srcdir)/ABOUT-NLS \
47	  && $(MAKEINFO) --output=$(srcdir)/ABOUT-NLS --no-header \
48	    -I $(srcdir)/doc --no-validate nls.texi
49
50
51# Allow users to use "gnulib-tool --update".
52EXTRA_DIST += gnulib-m4/gnulib-cache.m4
53
54
55# Woe32 support.
56
57EXTRA_DIST += README.woe32
58