aboutsummaryrefslogtreecommitdiffstats
path: root/config.sh.in
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-06-22 03:45:57 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-08-14 02:17:39 -0300
commit7bbcf7eab290c8b9f683f71838009933df2295b5 (patch)
tree2a26d88a002cb0815aa4342eb6aa413ee67397e9 /config.sh.in
parentbuild: add new TARNAME variable (diff)
downloadfirejail-7bbcf7eab290c8b9f683f71838009933df2295b5.tar.gz
firejail-7bbcf7eab290c8b9f683f71838009933df2295b5.tar.zst
firejail-7bbcf7eab290c8b9f683f71838009933df2295b5.zip
build: use TARNAME instead of NAME for paths
PACKAGE_TARNAME is the same as PACKAGE_NAME but normalized, so it should be safer to use in paths. For example, on a downstream project, if spaces or shell metacharacters are added to the package name, a path that uses PACKAGE_TARNAME should keep working. From the manual of GNU Autoconf (version 2.69): > -- Macro: AC_INIT (PACKAGE, VERSION, [BUG-REPORT], [TARNAME], [URL]) > Process any command-line arguments and perform initialization and > verification. > > Set the name of the PACKAGE and its VERSION. These are typically > used in '--version' support, including that of 'configure'. The > optional argument BUG-REPORT should be the email to which users > should send bug reports. The package TARNAME differs from > PACKAGE: the latter designates the full package name (e.g., 'GNU > Autoconf'), while the former is meant for distribution tar ball > names (e.g., 'autoconf'). It defaults to PACKAGE with 'GNU ' > stripped, lower-cased, and all characters other than > alphanumerics and underscores are changed to '-'. Note also that by default (on autoconf v2.69), `docdir=@docdir@` in config.mk.in expands to the following in config.mk: docdir=${datarootdir}/doc/${PACKAGE_TARNAME}
Diffstat (limited to 'config.sh.in')
0 files changed, 0 insertions, 0 deletions