1## Makefile for the gettext-tools directory of GNU gettext 2## Copyright (C) 1995-2007, 2010, 2013-2016, 2018-2019 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 <https://www.gnu.org/licenses/>. 16 17## Process this file with automake to produce Makefile.in. 18 19AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies 20ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m4 -I libgettextpo/gnulib-m4 21 22SUBDIRS = intl gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests gnulib-tests examples doc 23 24EXTRA_DIST = misc/DISCLAIM 25MOSTLYCLEANFILES = core *.stackdump 26 27 28# Files installed for use by gettextize. 29 30gettextsrcdir = $(datadir)/gettext 31gettextsrc_SCRIPTS = ../build-aux/config.rpath 32 33 34# Files installed for the examples. 35 36examplesbuildauxdir = $(docdir)/examples/build-aux 37examplesbuildaux_DATA = \ 38 ../build-aux/javacomp.sh.in ../build-aux/javaexec.sh.in \ 39 ../build-aux/csharpcomp.sh.in ../build-aux/csharpexec.sh.in 40 41 42# Files copied from other directories. 43 44all-local: $(srcdir)/ABOUT-NLS 45$(srcdir)/ABOUT-NLS: $(srcdir)/../gettext-runtime/ABOUT-NLS 46 cp $(srcdir)/../gettext-runtime/ABOUT-NLS $(srcdir)/ABOUT-NLS 47 48 49# Allow users to use "gnulib-tool --update". 50EXTRA_DIST += gnulib-m4/gnulib-cache.m4 51 52 53# Windows support. 54 55EXTRA_DIST += INSTALL.windows 56 57 58# Cygwin support. 59 60EXTRA_DIST += woe32dll/export.h 61 62maintainer-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 67