$linuxjunkies
>

autopoint(1)

Copy or symlink the GNU gettext infrastructure files into a package source tree to enable internationalization support.

UbuntuDebianFedoraArch

Synopsis

autopoint [OPTION]... [PACKAGE-VERSION]

Description

autopoint copies or symlinks the GNU gettext message translation infrastructure files (macros, templates, and scripts) into your project directory. It ensures your package has the necessary i18n build machinery matching the gettext version specified in your configure.ac or configure.in file.

This tool is typically run after initial project setup or when gettext files need updating. It integrates with the autotools build system (autoconf, automake) and should be invoked before running autoreconf.

Common options

FlagWhat it does
--helpdisplay help message and exit
--versionoutput version information and exit
-f, --forceforce overwriting of existing gettext files
-n, --dry-runshow what files would be copied without actually doing it
-d, --dir=DIRinstall gettext files into DIR instead of current directory

Examples

copy gettext files to current directory based on AM_GNU_GETTEXT_VERSION in configure.ac

autopoint

overwrite existing gettext infrastructure files with fresh copies

autopoint --force

preview which files would be installed without making changes

autopoint --dry-run

install gettext files into the po subdirectory

autopoint -d po

install gettext files matching version 0.20.2 explicitly

autopoint 0.20.2

Related commands