summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-11-05 14:07:41 +0000
committerRoy Marples <roy@marples.name>2016-11-05 14:07:41 +0000
commit355c224abb0eb033529723d6f232cba38c362e8c (patch)
treedd3d7be17c6c2bde412f439d6ad3ee353b3e5af4
parent6d7572ca419a0dbb46aa9b56a960b423e3064b14 (diff)
downloadparpd-355c224abb0eb033529723d6f232cba38c362e8c.tar.xz
Remove distinfo files before making them and keep distinfo in signed result.
-rw-r--r--mk/dist.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/dist.mk b/mk/dist.mk
index 6032fff..bb969fd 100644
--- a/mk/dist.mk
+++ b/mk/dist.mk
@@ -50,9 +50,10 @@ dist-inst:
dist: ${DIST}
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}