n2n/autogen.sh

24 lines
536 B
Bash
Raw Normal View History

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"
N2N_MINOR="5"
N2N_PATCH="1"
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
echo ""
echo "Now running ./configure"
./configure