1 ## Makefile for the gettext-tools directory of GNU gettext
2 ## Copyright (C) 1995-2007, 2010, 2015 Free Software Foundation, Inc.
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.
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.
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/>.
17 ## Process this file with automake to produce Makefile.in.
19 AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
20 ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m4 -I libgettextpo/gnulib-m4
22 SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man m4 tests gnulib-tests
24 EXTRA_DIST = misc/DISCLAIM
25 MOSTLYCLEANFILES = core *.stackdump
28 # Files installed for use by gettextize.
30 gettextsrcdir = $(datadir)/gettext
31 gettextsrc_SCRIPTS = ../build-aux/config.rpath
34 # Files installed for the examples.
36 examplesbuildauxdir = $(docdir)/examples/build-aux
37 examplesbuildaux_DATA = \
38 ../build-aux/javacomp.sh.in ../build-aux/javaexec.sh.in \
39 ../build-aux/csharpcomp.sh.in ../build-aux/csharpexec.sh.in
42 # Files copied from other directories.
44 all-local: $(srcdir)/ABOUT-NLS
45 $(srcdir)/ABOUT-NLS: $(srcdir)/../gettext-runtime/ABOUT-NLS
46 cp $(srcdir)/../gettext-runtime/ABOUT-NLS $(srcdir)/ABOUT-NLS
49 # Allow users to use "gnulib-tool --update".
50 EXTRA_DIST += gnulib-m4/gnulib-cache.m4
55 EXTRA_DIST += README.woe32
60 EXTRA_DIST += woe32dll/export.h
62 maintainer-update-po: $(top_builddir)/config.status
63 $(SHELL) ./config.status --recheck
64 $(SHELL) ./config.status po/Makefile.in po-directories
65 cd po && $(MAKE) update-po
66 cd examples && $(MAKE) maintainer-update-po