Fix API version generation

This commit is contained in:
emanuele-f
2020-03-25 14:07:19 +01:00
parent 9cf016c5f1
commit 1b8f7ed101
+1 -1
View File
@@ -44,7 +44,7 @@ if test -d ".git"; then :
A=`git log src/include/ndpi_typedefs.h|wc -l`
B=`git log src/include/ndpi_protocol_ids.h|wc -l`
C=`git log src/include/ndpi_api.h.in|wc -l`
NDPI_API_VERSION=$((A+B+B))
NDPI_API_VERSION=$((A+B+C))
else
GIT_RELEASE="${PACKAGE_VERSION}"
GIT_DATE=`date -u -r CHANGELOG.md`