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

index dbe0950a368bdb9fa885d78d78edd9e9933091b0..095779b95b04f0a7780b4be7d6c28026843340b2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -90,8 +90,9 @@ dist:
        rm ${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}