Add a ChangeLog to the compiled Perl script
[dowkd.git] / dowkd.compile
blobea3b635187dad991f68252417f39982c836d39a5
1 #! /bin/bash
3 set -e
5 rm -f dowkd.new || true
7 (sed -e s/@PROGRAM_VERSION@/$(git describe)/ \
8 -e s/@DB_VERSION@/$(cat dowkd.blacklist.md5)/ \
9 < dowkd.in | \
10 sed -e '/^@CHANGELOG@$/{
12 r ChangeLog
17 cat dowkd.blacklist) > dowkd.new
19 mv dowkd.new dowkd