]> wimlib.net Git - wimlib/blobdiff - update-version
Add ax_pthread.m4
[wimlib] / update-version
index 0b717d080957bf29c35ab6490166737e8758ce25..b15fbfd476a255d1d680ec84adbfcf2ed89e1498 100755 (executable)
@@ -1,14 +1,14 @@
 #!/bin/bash
 
-oldver='1\.5\.0'
-oldmonth=August
-oldyear=2013
+oldver='1\.7\.2'
+oldmonth=October
+oldyear=2014
 
 newmajor=1
-newminor=5
-newpatch=1
-newmonth=October
-newyear=2013
+newminor=7
+newpatch=3
+newmonth=November
+newyear=2014
 
 
 newver="${newmajor}.${newminor}.${newpatch}"
@@ -23,7 +23,8 @@ sed -i -e 's/\(#define WIMLIB_MAJOR_VERSION[[:space:]]\+\)[[:digit:]]\+/\1'$newm
        -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/;s/wimlib $oldver/wimlib $newver/" \
+         doc/man[1-9]/*.[1-9]
 
 sed -i "s/pkgver=$oldver/pkgver=$newver/" archlinux/PKGBUILD