configure.ac: generate version number from git commit and tags
[wimlib] / tools / make-releases
index 5505bb50b5ffd776e374120c731e88a1b90e198b..251e741311c2ec614af10a525892dcc9d22b83cc 100755 (executable)
@@ -4,6 +4,10 @@ set -e
 
 MAKE="make -j$(grep -c processor /proc/cpuinfo)"
 
+export CFLAGS="-O2 -Wall -Werror"
+
+autoreconf -i -f # make sure the version number gets updated
+
 ./configure && $MAKE distcheck
 
 # Recompress with 7-Zip