1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00
curl/scripts
Steve Brokenshire 698aae270b updatemanpages.pl: Update man pages to use current date and versions
Added script to update man pages to use the current date and
curl/libcurl versions.

updatemanpages.pl has three arrays: list of directories to look in,
list of extensions to process, list of files to exclude from
processing.

Check man page in git repoistory using the date from the existing man
page before updating to avoid updating the man page if no change is
made.

If data is received from the git command then update the man page with
the current date and version otherwise leave alone.

Applied patch from badger to make the date argument optional, change the
git command used, added date argument to processfile subroutine and
print to STDERR if no date is found in a man page.

Added code to process the changed man page into a new man page with
.dist added to the filename to keep the original source files unchanged.
Updated POD documentation to reflect that the date argument optional.

Code style is in line with CODE_STYLE.md.

Directories: docs/ docs/libcurl/ docs/libcurl/opts/ tests/
Extensions: .1 .3
Excluded files: mk-ca-bundle.1 template.3

(TODO Section 3.1)
2017-03-07 23:27:31 +01:00
..
contributors.sh contri*.sh: cut off parentheses from names too 2017-01-20 17:10:08 +01:00
contrithanks.sh contri*.sh: cut off parentheses from names too 2017-01-20 17:10:08 +01:00
log2changes.pl log2changes.pl: moved to scripts/ 2015-05-24 00:09:23 +02:00
Makefile.am scripts/make: use $(EXEEXT) for executables 2016-04-18 15:51:32 +02:00
updatemanpages.pl updatemanpages.pl: Update man pages to use current date and versions 2017-03-07 23:27:31 +01:00
zsh.pl zsh.pl: fail if no curl is found 2016-01-11 23:32:30 +01:00