1 ## Makefile for the gettext-runtime directory of GNU gettext
2 ## Copyright (C) 1995-2006, 2010, 2012, 2015 Free Software Foundation,
5 ## This program is free software: you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 3 of the License, or
8 ## (at your option) any later version.
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
18 ## Process this file with automake to produce Makefile.in.
20 AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
21 ACLOCAL_AMFLAGS = -I m4 -I ../m4 -I gnulib-m4
23 MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@
25 # The list of subdirectories depends on whether --disable-libasprintf was
28 SUBDIR_libasprintf = libasprintf
32 SUBDIRS = doc intl intl-java intl-csharp gnulib-lib $(SUBDIR_libasprintf) src po man m4 tests
37 # Files installed for the user and for use by gettextize.
39 gettextsrcdir = $(datadir)/gettext
40 gettextsrc_DATA = ABOUT-NLS
45 ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi
46 rm -f $(srcdir)/ABOUT-NLS \
47 && $(MAKEINFO) --plaintext --no-validate -I $(srcdir)/doc \
48 $(srcdir)/doc/nls.texi \
49 | sed -e "s/\`\([^']*\)'/‘\1’/g" > $(srcdir)/ABOUT-NLS
52 # Allow users to use "gnulib-tool --update".
53 EXTRA_DIST += gnulib-m4/gnulib-cache.m4
58 EXTRA_DIST += README.woe32
60 maintainer-update-po: $(top_builddir)/config.status
61 $(SHELL) ./config.status --recheck
62 $(SHELL) ./config.status po/Makefile.in po-directories
63 cd po && $(MAKE) update-po