From 81429ac46009adcee423fa3170a8164fde59cc29 Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Fri, 8 Mar 2024 11:45:39 +0100 Subject: [PATCH] fix minor release quirks better SAFEC_API_VERSION, update doc/libc-overview.md to gh-pages --- Makefile.am | 4 +++- configure.ac | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index e1bd061b..183af18b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -610,13 +610,15 @@ endif gh-pages: docs echo ensure ./configure --enable-unsafe ls doc/man/man3/tmpnam_s.3 + cp -f doc/libc-overview.md doc/libc-overview.md.master git checkout gh-pages + -mv doc/libc-overview.md.master doc/libc-overview.md rm -rf doc/man rm -rf doc/safec-$(SAFEC_API_VERSION) mkdir doc/safec-$(SAFEC_API_VERSION) mv doc/html/* doc/safec-$(SAFEC_API_VERSION)/ rm -rf doc/html - git add doc/safec-$(SAFEC_API_VERSION) + git add doc/libc-overview.md doc/safec-$(SAFEC_API_VERSION) release: docs distcheck git branch |grep '^* master' git tag -f v`date +%d%m%Y` diff --git a/configure.ac b/configure.ac index 05d2b867..cda1726c 100644 --- a/configure.ac +++ b/configure.ac @@ -1074,7 +1074,8 @@ AC_SUBST([TARBALL_VERSION_FILE]) # library version information": # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html AC_SUBST([SAFEC_SO_VERSION], [3:8:0]) -AC_SUBST([SAFEC_API_VERSION], [3.8.0]) +# no patch version here +AC_SUBST([SAFEC_API_VERSION], [3.8]) AC_MSG_CHECKING([package version]) AC_MSG_RESULT($PACKAGE_VERSION)