Compress bz2 doc tarballs with bzip2 instead of gzip

Fixes #99.
This commit is contained in:
Petri Lehtinen 2013-01-06 14:16:38 +02:00
parent 40c2e532b9
commit 5dbac70a67

View File

@ -61,7 +61,9 @@ mv doc/_build/html jansson-$v-doc
# Make and sign documentation tarballs
for s in gz bz2; do
tar czf jansson-$v-doc.tar.$s jansson-$v-doc
[ $s = gz ] && compress=gzip
[ $s = bz2 ] && compress=bzip2
tar cf - jansson-$v-doc | $compress -9 -c > jansson-$v-doc.tar.$s
gpg --detach-sign --armor jansson-$v-doc.tar.$s
done