The libqmi releases are generated using meson. 0.1) For major releases: * Increment qmi_minor_version and reset qmi_micro_version. * Assuming API/ABI compatibility, increment both current and age. 0.2) For stable branch releases: * Increment qmi_micro_version. 1) Add signed tag: $ git tag -s 1.32.0 The description included in the signed tag could be: Release 1.32.0 2) Configure and build the whole project, making sure gtk-doc and introspection are enabled: $ meson setup build \ --prefix=/usr \ --buildtype=release \ -Dintrospection=true \ -Dgtk_doc=true $ ninja -C build 3) Run the test suite and install locally: $ ninja -C build test $ sudo ninja -C build install 4) Create directories for the manpages and gtk-doc documentation in freedesktop.org, and also update the 'latest' links: $ ssh fd.o [fd.o] $ cd ${libqmi}/man/ [fd.o] $ rm latest [fd.o] $ mkdir -p ${VERSION} [fd.o] $ ln -s ${VERSION} latest [fd.o] $ cd ${libqmi}/libqmi-glib/ [fd.o] $ rm latest [fd.o] $ mkdir -p ${VERSION} [fd.o] $ ln -s ${VERSION} latest 5) Generate HTML for the manpages: $ roffit < build/docs/man/qmicli.1 > qmicli.1.html $ roffit < build/docs/man/qmi-network.1 > qmi-network.1.html $ roffit < build/docs/man/qmi-firmware-update.1 > qmi-firmware-update.1.html 6) Upload manpages in HTML to freedesktop.org: $ scp *.1.html fd.o:${libqmi}/man/${VERSION}/ 7) Copy documentation from /usr/share/gtk-doc and fix online references manually $ mkdir html $ cp -r /usr/share/gtk-doc/html/libqmi-glib/* html/ $ for FILE in $(ls html/*.html); do \ sed -i 's|]* href="\.\./glib/[^"]*|