mirror of
https://github.com/ntop/n2n.git
synced 2024-11-23 18:04:12 +08:00
b73f146d9b
Moved to 2.7
23 lines
520 B
Bash
Executable File
23 lines
520 B
Bash
Executable File
#!/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
|
|
echo ""
|
|
echo "Now run ./configure"
|