Remove distinfo files before making them and keep distinfo in signed result.
authorRoy Marples <roy@marples.name>
Sat, 5 Nov 2016 14:06:27 +0000 (14:06 +0000)
committerRoy Marples <roy@marples.name>
Sat, 5 Nov 2016 14:06:27 +0000 (14:06 +0000)
Makefile

index 2d1a5dc9ad795bd880c181461212f56053b5f7f9..94fa5cc860a6b365076abb93074c9f4b41fe1da1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,9 +36,10 @@ dist:
        rm -rf /tmp/${DISTPREFIX} /tmp/${DISTFILEGZ}
 
 distinfo: dist
+       rm -f ${DISTINFO} ${DISTINFOSIGN}
        ${CKSUM} ${DISTFILE} >${DISTINFO}
        #printf "SIZE (${DISTFILE}) = %s\n" $$(wc -c <${DISTFILE}) >>${DISTINFO}
-       ${PGP} --sign --detach --armor --output=${DISTINFOSIGN} ${DISTINFO}
+       ${PGP} --clearsign --output=${DISTINFOSIGN} ${DISTINFO}
        chmod 644 ${DISTINFOSIGN}
        ls -l ${DISTFILE} ${DISTINFO} ${DISTINFOSIGN}