mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-28 13:35:47 +03:00
This script is called from the package's top directory to adjust all places where the current API version is hard-coded. The current version is detected from the LIBCOAP_API_VERSION in configure.ac. The target version is LIBCOAP_API_VERSION + 1 if no parameter is provided on the command line. Otherwise, the given value is used as target version. Note that calling this script also results in 'git mv' operations. git commit must be called manually after running this script.