mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
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}
This commit is contained in:
parent
9a45c34fc7
commit
891fd02701
2 changed files with 3 additions and 1 deletions
|
|
@ -8,7 +8,8 @@
|
||||||
# first target encountered).
|
# first target encountered).
|
||||||
|
|
||||||
NAME=@PACKAGE_NAME@
|
NAME=@PACKAGE_NAME@
|
||||||
PACKAGE_TARNAME=@PACKAGE_TARNAME@
|
TARNAME=@PACKAGE_TARNAME@
|
||||||
|
PACKAGE_TARNAME=@PACKAGE_TARNAME@ # needed by docdir
|
||||||
VERSION=@PACKAGE_VERSION@
|
VERSION=@PACKAGE_VERSION@
|
||||||
|
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,5 @@
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
|
|
||||||
NAME="@PACKAGE_NAME@"
|
NAME="@PACKAGE_NAME@"
|
||||||
|
TARNAME="@PACKAGE_TARNAME@"
|
||||||
VERSION="@PACKAGE_VERSION@"
|
VERSION="@PACKAGE_VERSION@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue