autopoint(1)
Copy or symlink the GNU gettext infrastructure files into a package source tree to enable internationalization support.
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
| Flag | What it does |
|---|---|
--help | display help message and exit |
--version | output version information and exit |
-f, --force | force overwriting of existing gettext files |
-n, --dry-run | show what files would be copied without actually doing it |
-d, --dir=DIR | install gettext files into DIR instead of current directory |
Examples
copy gettext files to current directory based on AM_GNU_GETTEXT_VERSION in configure.ac
autopointoverwrite existing gettext infrastructure files with fresh copies
autopoint --forcepreview which files would be installed without making changes
autopoint --dry-runinstall gettext files into the po subdirectory
autopoint -d poinstall gettext files matching version 0.20.2 explicitly
autopoint 0.20.2