From beff139d3dc43f30c467c674f8821a5ba6a82a41 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Fri, 7 Oct 2016 09:36:18 +0100 Subject: [PATCH] maketgz: Run updatemanpages.pl to update man pages maketgz now runs scripts/updatemanpages.pl to update the man pages .TH section to use the current date and curl/libcurl version. (TODO Section 3.1) Closes #1058 --- docs/TODO | 7 ------- maketgz | 8 ++++++++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/TODO b/docs/TODO index 158d3c317..ee0f188b4 100644 --- a/docs/TODO +++ b/docs/TODO @@ -47,7 +47,6 @@ 2.5 Edge-triggered sockets should work 3. Documentation - 3.1 Update date and version in man pages 3.2 Provide cmake config-file 4. FTP @@ -444,12 +443,6 @@ 3. Documentation -3.1 Update date and version in man pages - - 'maketgz' or another suitable script could update the .TH sections of the man - pages at release time to use the current date and curl/libcurl version - number. - 3.2 Provide cmake config-file A config-file package is a set of files provided by us to allow applications diff --git a/maketgz b/maketgz index a68a9e92b..2cc8e1364 100755 --- a/maketgz +++ b/maketgz @@ -131,6 +131,14 @@ else automake --include-deps Makefile >/dev/null fi +############################################################################ +# +# Modify the man pages to display the version number and date. +# + +echo "update man pages" +./scripts/updatemanpages.pl $version + ############################################################################ # # Update the IDE files