From 891fd0270154ba1992e30d3e59c1daf990bfb604 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sat, 13 Aug 2022 16:10:08 -0300 Subject: build: add new TARNAME variable That expands to `@PACKAGE_TARNAME@`, similar to the existing PACKAGE_TARNAME variable. To make it easier to use (and read) and to be more consistent with the surrounding variables (NAME and VERSION). Note that the original PACKAGE_TARNAME is still needed, as by default (on autoconf v2.69) `docdir=@docdir@` in config.mk.in expands to the following in config.mk: docdir=${datarootdir}/doc/${PACKAGE_TARNAME} --- config.sh.in | 1 + 1 file changed, 1 insertion(+) (limited to 'config.sh.in') diff --git a/config.sh.in b/config.sh.in index 155f2158e..0a91c68f2 100644 --- a/config.sh.in +++ b/config.sh.in @@ -4,4 +4,5 @@ # shellcheck disable=SC2034 NAME="@PACKAGE_NAME@" +TARNAME="@PACKAGE_TARNAME@" VERSION="@PACKAGE_VERSION@" -- cgit v1.2.3-70-g09d2