This commit is contained in:
Luca
2017-08-29 20:56:08 +02:00
parent 299b9435d0
commit 22beb7714d
3 changed files with 22 additions and 2 deletions
+5
View File
@@ -1,5 +1,9 @@
#!/bin/sh
NDPI_MAJOR="2"
NDPI_MINOR="1"
NDPI_PATCH="0"
NDPI_VERSION_SHORT="$NDPI_MAJOR.$NDPI_MINOR.$NDPI_PATCH"
/bin/rm -f configure config.h config.h.in src/lib/Makefile.in
@@ -29,5 +33,6 @@ if test -z $AUTORECONF; then
exit
fi
cat configure.seed | sed "s/@NDPI_MAJOR@/$NDPI_MAJOR/g" | sed "s/@NDPI_MINOR@/$NDPI_MINOR/g" | sed "s/@NDPI_PATCH@/$NDPI_PATCH/g" | sed "s/@NDPI_VERSION_SHORT@/$NDPI_VERSION_SHORT/g" > configure.ac
autoreconf -ivf
./configure $*