mirror of https://github.com/ntop/n2n.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
497 B
21 lines
497 B
#!/usr/bin/env bash
|
|
|
|
# NOTE: update version in CMakeLists.txt after changing these
|
|
N2N_MAJOR="2"
|
|
N2N_MINOR="7"
|
|
N2N_PATCH="0"
|
|
|
|
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
|
|
|
|
rm -f config.h config.h.in *~ Makefile configure #*
|
|
|
|
echo "Wait please..."
|
|
autoreconf -if
|
|
./configure
|
|
|