# (see DISTCLEANFILES in Makefile.am):
/gettext-tools/misc/autopoint
/gettext-tools/misc/convert-archive
-/gettext-tools/misc/gettextize
/gettext-tools/po/Makefile.in
/gettext-tools/po/Makefile
/gettext-tools/projects/Makefile
/gettext-tools/system-tests/Makefile
/gettext-tools/tests/Makefile
/gettext-tools/tests/init-env
+/gettext-tools/wizard/gettextize
/gettext-tools/install-tests/Makefile
/gnulib-local/Makefile
AUTOMAKE_OPTIONS = 1.5 gnu
ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m4 -I libgettextpo/gnulib-m4 -I tests/gnulib-m4
-SUBDIRS = gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests gnulib-tests install-tests examples doc
+SUBDIRS = gnulib-lib libgrep src libgettextpo po its projects styles wizard emacs misc man m4 tests system-tests gnulib-tests install-tests examples doc
EXTRA_DIST = misc/disclaim-translations.txt
MOSTLYCLEANFILES = core *.stackdump
#distdir: distdir2
.PHONY: distdir2
distdir2: programs-for-distdir
+ cd wizard && $(MAKE) $(AM_MAKEFLAGS)
cd misc && $(MAKE) $(AM_MAKEFLAGS)
cd examples && $(MAKE) $(AM_MAKEFLAGS)
AC_CONFIG_FILES([styles/Makefile])
+AC_CONFIG_FILES([wizard/Makefile])
+AC_CONFIG_FILES([wizard/gettextize], [chmod a+x wizard/gettextize])
+
AC_CONFIG_FILES([emacs/Makefile])
AC_CONFIG_FILES([misc/Makefile])
-AC_CONFIG_FILES([misc/gettextize], [chmod a+x misc/gettextize])
AC_CONFIG_FILES([misc/autopoint], [chmod a+x misc/autopoint])
AC_CONFIG_FILES([misc/convert-archive], [chmod a+x misc/convert-archive])
## Makefile for the gettext-tools/man subdirectory of GNU gettext
-## Copyright (C) 2001-2003, 2006-2007, 2013-2015, 2018, 2021 Free Software Foundation, Inc.
+## Copyright (C) 2001-2025 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
EXTRA_DIST =
# A manual page for each of the bin_PROGRAMS in src/Makefile.am
-# and for each of the bin_SCRIPTS in misc/Makefile.am.
+# and for each of the bin_SCRIPTS in wizard/Makefile.am, misc/Makefile.am.
man_aux = \
msgcmp.x msgfmt.x msgmerge.x msgunfmt.x xgettext.x \
msgattrib.1 msgcat.1 msgcomm.1 msgconv.1 msgen.1 msgexec.1 msgfilter.1 \
msggrep.1 msginit.1 msguniq.1 \
recode-sr-latin.1
+man_MAN1WIZARD = \
+gettextize.1
man_MAN1MISC = \
-gettextize.1 autopoint.1
-man_MAN1 = $(man_MAN1SRC) $(man_MAN1MISC)
+autopoint.1
+man_MAN1 = $(man_MAN1SRC) $(man_MAN1WIZARD) $(man_MAN1MISC)
man_MANS = $(man_MAN1)
man_HTML = \
msguniq.1: msguniq.x ../src/msguniq.c
recode-sr-latin.1: recode-sr-latin.x ../src/recode-sr-latin.c
+$(man_MAN1WIZARD): help2man $(top_srcdir)/../.version
+ progname=`echo $@ | sed -e 's/\.in$$//' -e 's/\.1$$//'`; \
+ IN_HELP2MAN=1 $(SHELL) x-to-1 $(UPDATEMODE) "$(PERL)" "$(HELP2MAN)" \
+ ../wizard/$${progname}$(EXEEXT) $(srcdir)/$${progname}.x $@
+
+gettextize.1: gettextize.x ../wizard/gettextize.in
+
$(man_MAN1MISC): help2man $(top_srcdir)/../.version
progname=`echo $@ | sed -e 's/\.in$$//' -e 's/\.1$$//'`; \
- if test "$$progname" = autopoint; then option='--version-option=--version-without-config'; else option=''; fi; \
- IN_HELP2MAN=1 $(SHELL) x-to-1 $(UPDATEMODE) "$(PERL)" "$(HELP2MAN) $$option" \
+ IN_HELP2MAN=1 $(SHELL) x-to-1 $(UPDATEMODE) "$(PERL)" "$(HELP2MAN) --version-option=--version-without-config" \
../misc/$${progname}$(EXEEXT) $(srcdir)/$${progname}.x $@
-gettextize.1: gettextize.x ../misc/gettextize.in
autopoint.1: autopoint.x ../misc/autopoint.in
## Makefile for the gettext-tools/misc subdirectory of GNU gettext
-## Copyright (C) 1995-1997, 2000-2003, 2005-2007, 2009-2010, 2019-2021 Free
-## Software Foundation, Inc.
+## Copyright (C) 1995-2025 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
# Scripts for maintainers.
-bin_SCRIPTS = gettextize autopoint
+bin_SCRIPTS = autopoint
-DISTCLEANFILES += gettextize autopoint convert-archive
+DISTCLEANFILES += autopoint convert-archive
CLEANFILES += \
archive.dir.tar.gz \
# The archive.cvs.tar.gz is generated from archive.dir.tar.
archive.cvs.tar.gz: $(srcdir)/archive.dir.tar
./convert-archive dir cvs '$(srcdir)'/archive.dir.tar $@
-
-
-# We don't install the source code in unpacked form any more.
-install-data-local: uninstall-sources
-uninstall-local: uninstall-sources
-uninstall-sources:
- rm -rf $(DESTDIR)$(datadir)/gettext/intl
--- /dev/null
+## Makefile for the gettext-tools/wizard subdirectory of GNU gettext
+## Copyright (C) 1995-2025 Free Software Foundation, Inc.
+##
+## This program is free software: you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 3 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+## Process this file with automake to produce Makefile.in.
+
+AUTOMAKE_OPTIONS = 1.2 gnits
+EXTRA_DIST =
+MOSTLYCLEANFILES =
+CLEANFILES =
+DISTCLEANFILES =
+
+
+# Scripts for maintainers.
+
+bin_SCRIPTS = gettextize
+
+DISTCLEANFILES += gettextize
+
+
+# We don't install the source code in unpacked form any more.
+install-data-local: uninstall-sources
+uninstall-local: uninstall-sources
+uninstall-sources:
+ rm -rf $(DESTDIR)$(datadir)/gettext/intl