Rename privoxy.1 to privoxy.8
[privoxy.git] / utils / makeChangeLog
1 #!/usr/bin/awk -f
2 # take output from
3 #   git log [last release tag]..HEAD
4 # and reformat as a ChangeLog
5 #
6 # License: GNU GENERAL PUBLIC LICENSE
7 #          Version 2, June 1991
8 #
9 BEGIN {
10    print "--------------------------------------------------------------------"
11    print "ChangeLog for Privoxy"
12    print "--------------------------------------------------------------------"
13    print "*** Version X.Y.ZZ stable unstable***\n"
14 }
15 /^commit /  { new = 1; next }
16 /^Merge: /  { next }
17 /^Author: / { next }
18 /^Date: /   { next }
19 /^  *$/     { next } # ignore blank lines
20 /^ / {
21     if ( new ) {
22         new = 0
23         sub("^   ", "  -", $0); # 1st line of a change
24     }
25     print $0
26 }
27