* gettext-tools/Makefile.am (SUBDIRS): Add autotools. Remove misc.
(distdir2): Update.
* gettext-tools/autotools/Makefile.am: Renamed from
gettext-tools/misc/Makefile.am.
* gettext-tools/autotools/archive.dir.tar: Renamed from
gettext-tools/misc/archive.dir.tar.
* gettext-tools/autotools/add-to-archive: Renamed from
gettext-tools/misc/add-to-archive.
* gettext-tools/autotools/cvsuser.c: Renamed from gettext-tools/misc/cvsuser.c.
* gettext-tools/autotools/convert-archive.in: Renamed from
gettext-tools/misc/convert-archive.in.
* gettext-tools/autotools/autopoint.in: Renamed from
gettext-tools/misc/autopoint.in.
* gettext-tools/configure.ac: Update AC_CONFIG_FILES invocations.
* gettext-tools/man/Makefile.am (man_MAN1AUTOTOOLS): Renamed from man_MAN1MISC.
($(man_MAN1AUTOTOOLS)): Renamed from $(man_MAN1MISC).
(autopoint.1): Update.
* gettext-tools/examples/po/Makefile.am (USE_BUILT_PROGS): Update.
* gettext-tools/tests/autopoint-1: Update.
* gettext-tools/tests/autopoint-2: Likewise.
* gettext-tools/tests/autopoint-3: Likewise.
* check-copyright-headers (func_check_file): Update.
/gettext-tools/configure
/gettext-tools/config.h.in
/gettext-tools/Makefile.in
+/gettext-tools/autotools/Makefile.in
/gettext-tools/doc/Makefile.in
/gettext-tools/emacs/Makefile.in
/gettext-tools/examples/aclocal.m4
/gettext-tools/libgrep/Makefile.in
/gettext-tools/m4/Makefile.in
/gettext-tools/man/Makefile.in
-/gettext-tools/misc/Makefile.in
/gettext-tools/projects/Makefile.in
/gettext-tools/src/Makefile.in
/gettext-tools/styles/Makefile.in
/gettext-runtime/man/textdomain.3.html
/gettext-runtime/po/gettext-runtime.pot
/gettext-runtime/po/stamp-po
+/gettext-tools/autotools/archive.*.tar.*
/gettext-tools/doc/version.texi
/gettext-tools/doc/stamp-vti
/gettext-tools/doc/gettext.info
/gettext-tools/man/recode-sr-latin.1.html
/gettext-tools/man/xgettext.1
/gettext-tools/man/xgettext.1.html
-/gettext-tools/misc/archive.*.tar.*
/gettext-tools/po/gettext-tools.pot
/gettext-tools/po/stamp-po
# Files generated by "make", using gperf:
/gettext-tools/javaexec.sh
/gettext-tools/libtool
/gettext-tools/stamp-h1
+/gettext-tools/autotools/Makefile
+# (see DISTCLEANFILES in Makefile.am):
+/gettext-tools/autotools/autopoint
+/gettext-tools/autotools/convert-archive
/gettext-tools/build-aux/xml-validate-10
/gettext-tools/build-aux/xml-validate-11
/gettext-tools/doc/Makefile
/gettext-tools/m4/Makefile
/gettext-tools/man/Makefile
/gettext-tools/man/x-to-1
-/gettext-tools/misc/Makefile
-# (see DISTCLEANFILES in Makefile.am):
-/gettext-tools/misc/autopoint
-/gettext-tools/misc/convert-archive
/gettext-tools/po/Makefile.in
/gettext-tools/po/Makefile
/gettext-tools/projects/Makefile
gettext-runtime/src/ngettext.c
gettext-runtime/src/printf_gettext.c
gettext-runtime/src/printf_ngettext.c
- gettext-tools/misc/autopoint.in
- gettext-tools/misc/convert-archive.in
- gettext-tools/misc/gettextize.in
+ gettext-tools/wizard/gettextize.in
+ gettext-tools/autotools/autopoint.in
+ gettext-tools/autotools/convert-archive.in
gettext-tools/src/cldr-plurals.c
gettext-tools/src/hostname.c
gettext-tools/src/msgattrib.c
Update ARCHIVE_VERSION.
- - gettext-tools/misc/autopoint.in
+ - gettext-tools/autotools/autopoint.in
Update the 'case' statement around line 395 to include the latest release.
Make 'autopoint' work in the new release:
- (cd gettext-tools/misc
+ (cd gettext-tools/autotools
./add-to-archive ../../gettext-$CURRENT_VERSION.tar.gz)
Update the examples:
# This is a form, used for communication with the FSF.
return 0 ;;
- /gettext-tools/misc/archive.dir.tar )
+ /gettext-tools/autotools/archive.dir.tar )
# This is an archive of files that were part of earlier gettext releases.
# As a binary file, it cannot have a copyright header.
return 0 ;;
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 wizard emacs misc man m4 tests system-tests gnulib-tests install-tests examples doc
+SUBDIRS = gnulib-lib libgrep src libgettextpo po its projects styles wizard autotools emacs man m4 tests system-tests gnulib-tests install-tests examples doc
EXTRA_DIST = misc/disclaim-translations.txt
MOSTLYCLEANFILES = core *.stackdump
.PHONY: distdir2
distdir2: programs-for-distdir
cd wizard && $(MAKE) $(AM_MAKEFLAGS)
- cd misc && $(MAKE) $(AM_MAKEFLAGS)
+ cd autotools && $(MAKE) $(AM_MAKEFLAGS)
cd examples && $(MAKE) $(AM_MAKEFLAGS)
-## Makefile for the gettext-tools/misc subdirectory of GNU gettext
+## Makefile for the gettext-tools/autotools subdirectory of GNU gettext
## Copyright (C) 1995-2025 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
AC_CONFIG_FILES([wizard/Makefile])
AC_CONFIG_FILES([wizard/gettextize], [chmod a+x wizard/gettextize])
-AC_CONFIG_FILES([emacs/Makefile])
+AC_CONFIG_FILES([autotools/Makefile])
+AC_CONFIG_FILES([autotools/autopoint], [chmod a+x autotools/autopoint])
+AC_CONFIG_FILES([autotools/convert-archive], [chmod a+x autotools/convert-archive])
-AC_CONFIG_FILES([misc/Makefile])
-AC_CONFIG_FILES([misc/autopoint], [chmod a+x misc/autopoint])
-AC_CONFIG_FILES([misc/convert-archive], [chmod a+x misc/convert-archive])
+AC_CONFIG_FILES([emacs/Makefile])
AC_CONFIG_FILES([man/Makefile])
AC_CONFIG_FILES([man/x-to-1])
# The environment variable 'gettext_datadir' is used by autopoint.
# The environment variable 'GETTEXTDATADIR' is used by xgettext.
USE_BUILT_PROGS = \
- PATH="`pwd`/../../src$(PATH_SEPARATOR)`pwd`/../../misc$(PATH_SEPARATOR)$$PATH"; \
- gettext_datadir="`pwd`/../../misc"; export gettext_datadir; \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)`pwd`/../../autotools$(PATH_SEPARATOR)$$PATH"; \
+ gettext_datadir="`pwd`/../../autotools"; export gettext_datadir; \
GETTEXTDATADIR="`cd '$(srcdir)/../..' && pwd`"; export GETTEXTDATADIR;
hello-c.pot : $(POTFILES_DEPS)
EXTRA_DIST =
# A manual page for each of the bin_PROGRAMS in src/Makefile.am
-# and for each of the bin_SCRIPTS in wizard/Makefile.am, misc/Makefile.am.
+# and for each of the bin_SCRIPTS in wizard/Makefile.am, autotools/Makefile.am.
man_aux = \
msgcmp.x msgfmt.x msgmerge.x msgunfmt.x xgettext.x \
recode-sr-latin.1
man_MAN1WIZARD = \
gettextize.1
-man_MAN1MISC = \
+man_MAN1AUTOTOOLS = \
autopoint.1
-man_MAN1 = $(man_MAN1SRC) $(man_MAN1WIZARD) $(man_MAN1MISC)
+man_MAN1 = $(man_MAN1SRC) $(man_MAN1WIZARD) $(man_MAN1AUTOTOOLS)
man_MANS = $(man_MAN1)
man_HTML = \
gettextize.1: gettextize.x ../wizard/gettextize.in
-$(man_MAN1MISC): help2man $(top_srcdir)/../.version
+$(man_MAN1AUTOTOOLS): help2man $(top_srcdir)/../.version
progname=`echo $@ | sed -e 's/\.in$$//' -e 's/\.1$$//'`; \
IN_HELP2MAN=1 $(SHELL) x-to-1 $(UPDATEMODE) "$(PERL)" "$(HELP2MAN) --version-option=--version-without-config" \
- ../misc/$${progname}$(EXEEXT) $(srcdir)/$${progname}.x $@
+ ../autotools/$${progname}$(EXEEXT) $(srcdir)/$${progname}.x $@
-autopoint.1: autopoint.x ../misc/autopoint.in
+autopoint.1: autopoint.x ../autotools/autopoint.in
# Man pages in HTML format.
rm -f configure.ac
-gettext_datadir=$top_builddir/misc
+gettext_datadir=$top_builddir/autotools
export gettext_datadir
# Check if sanity checks are actually working.
rm -f configure.ac
-gettext_datadir=$top_builddir/misc
+gettext_datadir=$top_builddir/autotools
export gettext_datadir
# Check for not copying libintl source.
rm -f configure.ac Makefile.am
-gettext_datadir=$top_builddir/misc
+gettext_datadir=$top_builddir/autotools
export gettext_datadir
cat <<EOF >configure.ac