#!/bin/bash
-oldver='1\.4\.2'
-oldmonth=June
-oldyear=2013
+oldver='1\.6\.3'
+oldmonth=May
+oldyear=2014
newmajor=1
-newminor=5
+newminor=7
newpatch=0
-newmonth=August
-newyear=2013
+newmonth=May
+newyear=2014
newver="${newmajor}.${newminor}.${newpatch}"
-e 's/\(the library interface of wimlib \)'$oldver'/\1'$newver'/' \
include/wimlib.h
-sed -i -e "1s/$oldmonth $oldyear/$newmonth $newyear/" doc/*.1.in
+sed -i -e "1s/$oldmonth $oldyear/$newmonth $newyear/" doc/man[1-9]/*.[1-9].in
sed -i "s/pkgver=$oldver/pkgver=$newver/" archlinux/PKGBUILD