Add "ssl" command
[dowkd.git] / dowkd.compile
blob068b2cdcedee4267d36a3acc551aa41a9ee15e82
1 #! /bin/bash
3 set -e
5 sed -e s/@PROGRAM_VERSION@/$(git describe)/ \
6 -e s/@PROGRAM_SHA1@/$(git rev-parse HEAD)/ \
7 -e s/@DB_VERSION@/$(cat dowkd.blacklist.md5)/ \
8 < dowkd.in | \
9 sed -e '/^@CHANGELOG@$/{
11 r ChangeLog
15 }' | gzip -9 > dowkd.new
16 cat dowkd.blacklist.gz >> dowkd.new
18 mv dowkd.new dowkd.pl.gz
19 zcat dowkd.pl.gz > dowkd