]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
chore: include filesize in the distinfo
authorRoy Marples <roy@marples.name>
Fri, 21 Apr 2023 10:08:32 +0000 (11:08 +0100)
committerRoy Marples <roy@marples.name>
Fri, 21 Apr 2023 10:09:03 +0000 (11:09 +0100)
Makefile

index 60c94fc960346d1728f9dacc1762319d63f33833..2a7b9a5166f19d2105babcbad6b0eb586b8a365b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,7 @@ dist: ${DIST}
 distinfo: dist
        rm -f ${DISTINFO} ${DISTSIGN}
        ${SHA256} ${DISTFILE} >${DISTINFO}
+       stat -f "Size   (${DISTFILE}) = %z" ${DISTFILE} >>${DISTINFO}
        ${PGP} --armour --detach-sign ${DISTFILE}
        chmod 644 ${DISTSIGN}
        ls -l ${DISTFILE} ${DISTINFO} ${DISTSIGN}