2018-10-07 11:38:05 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2019-07-06 12:30:33 +02:00
|
|
|
# NOTE: update version in CMakeLists.txt after changing these
|
|
|
|
N2N_MAJOR="2"
|
2020-08-12 12:20:01 +02:00
|
|
|
N2N_MINOR="9"
|
2020-03-24 10:09:39 +01:00
|
|
|
N2N_PATCH="0"
|
2019-07-06 12:30:33 +02:00
|
|
|
|
|
|
|
N2N_VERSION_SHORT="$N2N_MAJOR.$N2N_MINOR.$N2N_PATCH"
|
|
|
|
|
|
|
|
cat configure.seed | sed \
|
|
|
|
-e "s/@N2N_MAJOR@/$N2N_MAJOR/g" \
|
|
|
|
-e "s/@N2N_MINOR@/$N2N_MINOR/g" \
|
|
|
|
-e "s/@N2N_PATCH@/$N2N_PATCH/g" \
|
|
|
|
-e "s/@N2N_VERSION_SHORT@/$N2N_VERSION_SHORT/g" \
|
|
|
|
> configure.ac
|
|
|
|
|
2018-10-07 11:38:05 +02:00
|
|
|
rm -f config.h config.h.in *~ Makefile configure #*
|
|
|
|
|
|
|
|
echo "Wait please..."
|
|
|
|
autoreconf -if
|
2020-04-24 08:21:12 +02:00
|
|
|
./configure
|