This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=0bc71ec07778bf4cb2019efcce825e63239f1d0f

commit 0bc71ec07778bf4cb2019efcce825e63239f1d0f
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Jan 31 03:40:52 2024 +0100

    build: Use PACKAGE_TARNAME for pathname components in directories
    
    While currently PACKAGE_NAME and PACKAGE_TARNAME are the same, they
    are not necessarily intended to be, so use the appropriate variable
    to be future proof.
---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 90a738ca8..3bbb0d14d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,13 +60,13 @@ DPKG_BUILD_DEVEL_DOCS
 # Allow alternate directories
 DPKG_WITH_DIR([devlibdir], [${libdir}],
   [dpkg development library directory [LIBDIR]])
-DPKG_WITH_DIR([pkgconfdir], [${sysconfdir}/${PACKAGE_NAME}],
+DPKG_WITH_DIR([pkgconfdir], [${sysconfdir}/${PACKAGE_TARNAME}],
   [dpkg configuration directory [SYSCONFDIR/dpkg]])
 DPKG_WITH_DIR([docspecdir], [${docdir}/spec],
   [dpkg specifications directory [DOCDIR/spec]])
-DPKG_WITH_DIR([methodsdir], [${libexecdir}/${PACKAGE_NAME}/methods],
+DPKG_WITH_DIR([methodsdir], [${libexecdir}/${PACKAGE_TARNAME}/methods],
   [dpkg download methods directory [LIBEXECDIR/dpkg/methods]])
-DPKG_WITH_DIR([admindir], [${localstatedir}/lib/${PACKAGE_NAME}],
+DPKG_WITH_DIR([admindir], [${localstatedir}/lib/${PACKAGE_TARNAME}],
   [dpkg database directory [LOCALSTATEDIR/lib/dpkg]])
 DPKG_WITH_DIR([backupsdir], [${localstatedir}/backups],
   [dpkg database backups directory [LOCALSTATEDIR/backups]])

-- 
Dpkg.Org's dpkg

Reply via email to