Imported Upstream version 0.18.3.2
[platform/upstream/gettext.git] / gettext-runtime / Makefile.am
1 ## Makefile for the gettext-runtime directory of GNU gettext
2 ## Copyright (C) 1995-1999, 2000-2006, 2010, 2012 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 3 of the License, or
7 ## (at your option) 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, see <http://www.gnu.org/licenses/>.
16
17 ## Process this file with automake to produce Makefile.in.
18
19 AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
20 ACLOCAL_AMFLAGS = -I m4 -I ../m4 -I gnulib-m4
21
22 MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@
23
24 # The list of subdirectories depends on whether --disable-libasprintf was
25 # specified.
26 if ENABLE_LIBASPRINTF
27 SUBDIR_libasprintf = libasprintf
28 else
29 SUBDIR_libasprintf =
30 endif
31 SUBDIRS = doc intl intl-java intl-csharp gnulib-lib $(SUBDIR_libasprintf) src po man m4 tests
32
33 EXTRA_DIST = BUGS
34
35
36 # Files installed for the user and for use by gettextize.
37
38 gettextsrcdir = $(datadir)/gettext
39 gettextsrc_DATA = ABOUT-NLS
40
41
42 all-local: ABOUT-NLS
43
44 ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi
45         rm -f $(srcdir)/ABOUT-NLS \
46           && $(MAKEINFO) --plaintext --no-validate -I $(srcdir)/doc nls.texi \
47              | sed -e "s/\`\([^']*\)'/‘\1’/g" > $(srcdir)/ABOUT-NLS
48
49
50 # Allow users to use "gnulib-tool --update".
51 EXTRA_DIST += gnulib-m4/gnulib-cache.m4
52
53
54 # Woe32 support.
55
56 EXTRA_DIST += README.woe32